python-odata icon indicating copy to clipboard operation
python-odata copied to clipboard

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

Open villekr opened this issue 6 years ago • 1 comments

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?

villekr avatar May 21 '19 13:05 villekr

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?

arjd avatar May 22 '19 12:05 arjd