VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

Add to_dict to all models #38

Closed mmaelicke closed 4 years ago

mmaelicke commented 4 years ago

For resolving #37 , all models need a to_dict function, which also should take a lazy argument for lazy-loading related models into the dict. This is also a prerequisite to build a RESTful client/api for metacatalog.

To export an Entry to dict, #40 needs to be resolved as well