microsoftgraph / msgraph-sdk-python

MIT License
359 stars 49 forks source link

Parse negative offsets #552

Closed draew6 closed 1 week ago

draew6 commented 8 months ago

I am not able to use MSGraph Bookings API properly because of this error on many responses: Error: Unable to parse string [-PT15M]

This one is "List Services" https://learn.microsoft.com/en-gb/graph/api/bookingbusiness-list-services?view=graph-rest-1.0&tabs=http which is business.services.get() in python sdk for this default notification: image

Another one is response when creating appointment. There is probably more of them.

andrueastman commented 5 months ago

Thanks for raising this @draew6

Any chance you can confirm if this is still an issue for you in the latest version of the SDK?

jaclar commented 1 month ago

I can confirm that this bug is still available in the current version 1.5.2

pendulum.parsing.exceptions.ParserError: Unable to parse string [-PT15M]
jeffswanvalla commented 1 month ago

Still an issue in 1.5.3, e.g. listServices fails to parse response with same error

shemogumbe commented 1 week ago

Hello @draew6 we have recently made some changes in https://github.com/microsoft/kiota-serialization-json-python.

Could you kindly confirm if this is still an issue?

draew6 commented 1 week ago

Hello @draew6 we have recently made some changes in https://github.com/microsoft/kiota-serialization-json-python.

Could you kindly confirm if this is still an issue?

Hello, I can't. I am no longer working on that project/job, sorry.

shemogumbe commented 1 week ago

Resolved