smart-data-models / data-models

Data Models in common use based on real world use-cases. These definitions underpin a digital market of interoperable and replicable smart solutions.
https://smartdatamodels.org/
114 stars 56 forks source link

Update pysmartdatamodels.py #57

Open fdrobnic opened 9 months ago

fdrobnic commented 9 months ago

Added the ngsi_ld_example_generator_str() function to be able to generate fake examples before the model is published.

albertoabellagarcia commented 9 months ago

We appreciate the contribution but we would need also the changes in the README file showing an example of execution of the new function. Thus we could test the contribution.

fdrobnic commented 9 months ago

Updated, hope that it is sufficient.

albertoabellagarcia commented 5 months ago

Thank you I am reviewing the code and what happens if the schema is not correct. this error is not controlled and therefore the function just throw an error without much information

fdrobnic commented 5 months ago

Added a similar error handling as implemented elsewhere in the package.

albertoabellagarcia commented 4 months ago

We are solving other issues about the package. please be patient with this approval