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
The NotificationSource._token field is currently a BinaryField that stores a pickled representation of a GMail Credentials instance. This is a bit inelegant, as it prevents easy inspection of the stored credentials. It should be possible to change this to a JSONField and use the Credentials.to_json() and Credentials.from_authorized_user_info() APIs (reference) to read and write a cleaner JSON representation of the credentials instead.
Use Case
Ease of troubleshooting, ease of maintenance.
The text was updated successfully, but these errors were encountered:
Environment
Proposed Functionality
The
NotificationSource._token
field is currently aBinaryField
that stores a pickled representation of a GMailCredentials
instance. This is a bit inelegant, as it prevents easy inspection of the stored credentials. It should be possible to change this to aJSONField
and use theCredentials.to_json()
andCredentials.from_authorized_user_info()
APIs (reference) to read and write a cleaner JSON representation of the credentials instead.Use Case
Ease of troubleshooting, ease of maintenance.
The text was updated successfully, but these errors were encountered: