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
/Users/xxxx/hippo/pip_examples/sdk_venv/lib/python3.11/site-packages/dataclasses_json/core.py:336: UserWarning: Failed to decode {'access_token': '******', 'valid_until': '******', 'expires_in': '******', 'username': 'xxxxxx', 'password': '******', 'pickup_no': 'xxxxxx', 'facility_code': 'xxxxxxx'} Union dataclasses.Expected Union to include a matching dataclass and it didn't. warnings.warn(/Users/xxxx/hippo/pip_examples/sdk_venv/lib/python3.11/site-packages/dataclasses_json/core.py:336: UserWarning: Failed to decode {'access_token': '******', 'valid_until': '******', 'expires_in': '******', 'username': 'xxxxxxxx', 'password': '******', 'pickup_no': 'xxxxxxx', 'facility_code': 'xxxxxxxx'} Union dataclasses.Expected Union to include a matching dataclass and it didn't.
warnings.warn(
The text was updated successfully, but these errors were encountered:
@jfriedr
For this line: car_req = operations.ListCarrierAccountsRequest(carrier='dhl_ecommerce')
Why aren't we using the Enum like this? car_req = ListCarrierAccountsRequest(carrier=CarriersEnum.DHL_ECOMMERCE)
@jfriedr Can you share what data types are being passed in for all the parameter values?
Most likely there is an error serializing the parameters into the default Union[Dict[str|any]] type here
I created a test for it but need closer to the real data to potentially cause it to fail. See here
Warning is being thrown when creating or listing an account using something like the following:
The warning presented is:
The text was updated successfully, but these errors were encountered: