You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 1.3.1 changed how JsonParseNode behaves on a string containing a single slash at the start or the end.
Before this version try_get_anything returned the input value, on 1.3.1 an exception is raised.
To Reproduce
The simple test that can be added to tests/test_json_parse_node.py
The error comes from the pendulum library, there is also an issue in their repo: sdispater/pendulum#506
However, the issue is open since 4 years, and the maintainer didn't even respond to it or the attached PR.
Environment
Stack trace (if available)
Describe the bug
Version 1.3.1 changed how
JsonParseNode
behaves on a string containing a single slash at the start or the end.Before this version
try_get_anything
returned the input value, on 1.3.1 an exception is raised.To Reproduce
The simple test that can be added to
tests/test_json_parse_node.py
Expected behavior
Exception should not be raised and the input value should be returned.
Screenshots
Additional context
I've encountered this issue when using Microsoft Graph API via
msgraph.GraphServiceClient
The text was updated successfully, but these errors were encountered: