Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Support for more data types #1

Description

@D063520

Hi,

do you plan to implement these:

if data_type in ["monolingualtext", "string"]:
    return py_wb.StringValue().unmarshal(data_value)
elif data_type == "commonsMedia":
    raise NotImplementedError  # TODO
elif data_type == "external-id":
    return py_wb.ExternalId().unmarshal(data_value)
elif data_type == "geo-shape":
    raise NotImplementedError  # TODO
elif data_type == "globe-coordinate":
    return py_wb.GeoLocation().unmarshal(data_value)
elif data_type == "math":
    raise NotImplementedError  # TODO
elif data_type == "quantity":
    return py_wb.Quantity().unmarshal(data_value)
elif data_type == "tabular-data":
    raise NotImplementedError  # TODO
elif data_type == "time":
    raise NotImplementedError  # TODO
elif data_type == "url":
    raise NotImplementedError  # TODO
elif data_type == "wikibase-form":
    raise NotImplementedError  # TODO
elif data_type == "wikibase-lexeme":
    raise NotImplementedError  # TODO
elif data_type == "wikibase-sense":
    raise NotImplementedError  # TODO

Salut
D063520

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions