python-odata
python-odata copied to clipboard
How to export metadata schema entity types and their properties as e.g. json
This is not a bug report.
I was wondering if there's some straightforward way to export schema entity types and their properties once the metadata has been retrieved from the given service (when constructing service with reflect_entities=True). Anyone found a way to do that using this library?
Why can't you just look at the $metadata document?
Or maybe you're talking about exporting Python typeclasses with their properties as reflected from the OData service? Why not pickle the objects?