simphony / simphony-osp

A framework that aims to achieve interoperability between software such as simulation engines, databases and data repositories using a knowledge graph as the common language.
https://simphony.readthedocs.io
Other
16 stars 12 forks source link

Warn users that the python objects being assigned as attributes are converted to the attribute's datatype #708

Open yzuuang opened 3 years ago

yzuuang commented 3 years ago

Checked for both rdfs:Literal and xsd:string.

kysrpex commented 3 years ago

After talking to @yzuuang, the problem is not related to OSP-core. However, having a warning that Python objects are being converted to the correct data types as they are assigned to attributes can be helpful for less Python-savy users. Obviously it should be possible to disable the warning.