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

Add support for V4

Open filak-sap opened this issue 5 years ago • 13 comments

Place holder

filak-sap avatar Jul 22 '19 17:07 filak-sap

I am not sure if this is part of this issue, but when I try to create a client using the service below:

URL = 'https://services.odata.org/V4/TripPinServiceRW' client = pyodata.Client(URL, requests.Session())

I am getting such as error:

File "/Users/ks/.virtualenvs/odata/lib/python3.6/site-packages/pyodata/v2/model.py", line 49, in parse parts = value.split('.') AttributeError: 'NoneType' object has no attribute 'split'

I would assume that the library supports version 2 only?

krzysztof-slowinski avatar Sep 16 '19 14:09 krzysztof-slowinski

@krzysztof-slowinski You are right. @mamiksik is already working on the support for V4.

filak-sap avatar Sep 17 '19 08:09 filak-sap

Was support for version 4 ever released?

WilliamLyman avatar Feb 08 '20 16:02 WilliamLyman

We are still working on it but we will get there once.

filak-sap avatar Feb 10 '20 09:02 filak-sap

Any update on support for Version 4

davidmeza1 avatar Jul 09 '20 11:07 davidmeza1

I pulled the Version 4 branch and hit a few issues. (Not sure how close to being done it is). One snag, my data structure uses aliases and it seems the schema is being built with the namespace and then it tries to reference the schema using the alias.

WilliamLyman avatar Aug 12 '20 17:08 WilliamLyman

Hey everyone! We are thinking about contributing to support v4. Can you tell what the current status here is?

  1. The pull request #77 from @mamiksik seems to be stale. Would it make sense to jump in there and help? What exactly is missing there to approve the MR to v4 feature branch? Or is it so outdated that a complete new try would be necessary?
  2. I can't see, how much progress you've already made there. Can you estimate in percent, how much needs to be done?

Thank you in advance, Matthias

mattelacchiato avatar Jan 27 '21 09:01 mattelacchiato

I do believe all the information is in @mamiksik 's wiki:

  • https://github.com/mamiksik/python-pyodata/wiki/OData-V4
  • https://github.com/mamiksik/python-pyodata/wiki/What-is-missing%3F

I am sorry but it's hard to tell - I guess 80% :)

filak-sap avatar Jan 27 '21 10:01 filak-sap

Any update on support for Version 4?

devwaseem avatar Nov 04 '22 15:11 devwaseem

+1

fortelll avatar Nov 10 '22 18:11 fortelll

This would be a great feature to release by March 2024, when we also celebrate the 10 year anniversary of OData v4!

berseus avatar Dec 28 '23 15:12 berseus

What is the current status with this issue, and how can I help?

gSanchezVillarreal avatar Apr 04 '24 17:04 gSanchezVillarreal

+1

HaythemJ avatar May 12 '24 19:05 HaythemJ