Skip to content

Is Pyodata compatible with OData V4 #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
charcpg16 opened this issue Jul 5, 2022 · 1 comment
Closed

Is Pyodata compatible with OData V4 #217

charcpg16 opened this issue Jul 5, 2022 · 1 comment
Labels
question Further information is requested

Comments

@charcpg16
Copy link

Hi,
I see that Pyodata is compatible with OData V2. Just want to check if it compatible with OData V4. I am able to connect but not able to query.
I get the below error for the line execute():
Traceback (most recent call last):
File "c:\V\simple_OData_get_data.py", line 21, in
for pending_hire in theservice.entity_sets.PENDING_HIRES.get_entities().execute():
File "C:\Users\v\AppData\Local\Programs\Python\Python310\lib\site-packages\pyodata\v2\service.py", line 332, in execute
return self._handler(response)
File "C:\Users\v\AppData\Local\Programs\Python\Python310\lib\site-packages\pyodata\v2\service.py", line 1438, in get_entities_handler
entities = content['d']
KeyError: 'd'

@phanak-sap
Copy link
Contributor

Not at the moment. Just odata v2. It is the plan. The issue #39 tracks it - although the work needs to re-start.

@phanak-sap phanak-sap added the question Further information is requested label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants