Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotificationSource.token could possibly be converted to a JSONField #167

Open
glennmatthews opened this issue Dec 6, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@glennmatthews
Copy link
Contributor

Environment

  • Nautobot version: 1.1.5
  • nautobot-circuit-maintenance version: 0.4.1

Proposed Functionality

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.

@glennmatthews glennmatthews added the enhancement New feature or request label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant