tuomur / python-odata

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

How to do multiple expansions? #38

Open WilliamLyman opened 4 years ago

WilliamLyman commented 4 years ago

If I have a query like:
https://jacksonlabstest.platformforscience.com/DEV/odata/INDIRECT_CALORIMETRY_ASSAY_DATA$count=true&$expand=EXPERIMENT_SAMPLE($expand=ENTITY/pfs.MOUSE_SAMPLE_LOT($expand=MOUSESAMPLELOT_CBABATCH))

(ie nested expansions) How do I specify these using this library? I've tried a dozen different things but can't seem to figure it out.