RWTH-EBC / FiLiP

FIWARE Library for Python (FiLiP) to work with FIWARE API
BSD 3-Clause "New" or "Revised" License
23 stars 13 forks source link

262 support entity creation with keyvalues #264

Closed djs0109 closed 6 months ago

djs0109 commented 7 months ago

closes #262

djs0109 commented 7 months ago

@tstorek can you have a look at this? https://github.com/RWTH-EBC/FiLiP/blob/262-Support-entity-creation-with-keyvalues/examples/ngsi_v2/e12_ngsi_v2_use_case_models.py

Here are some backgrounds of this implementation: In an ongoing research, I have faced the trade-off between the usability of the Pydantic models and the FIWARE- or Filip-compatibility. Therefore, I want to have a way to keep the Pydantic model simple, reusable, while FIWARE- or Filip-compatible.

djs0109 commented 6 months ago

@RCX112 Thank you for the review, the code has been revised accordingly