tuomur / python-odata

A simple library for read/write access to OData services
MIT License
79 stars 59 forks source link

How to export metadata schema entity types and their properties as e.g. json #36

Open villekr opened 5 years ago

villekr commented 5 years ago

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?

arjd commented 5 years ago

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?