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
Hi,
do you plan to implement these:
Salut
D063520