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
There seems to be an error in session.py at line 230 that manifests itself when you pass in a value of type bytes to the data= parameter in either .post or .put
Original code:
ifoauth_paramindata:
But this assumes that data is a dictionary...and this fails with an error if data is bytes.
From the documentation, data should accept bytes:
:param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:'Request'.
There seems to be an error in session.py at line 230 that manifests itself when you pass in a value of type bytes to the data= parameter in either .post or .put
Original code:
But this assumes that data is a dictionary...and this fails with an error if data is bytes.
From the documentation, data should accept bytes:
:param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:'Request'.
I think the code should be updated to:
The text was updated successfully, but these errors were encountered: