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

Check for constance access on import #103

Open
gsnider2195 opened this issue Nov 18, 2024 · 0 comments
Open

Check for constance access on import #103

gsnider2195 opened this issue Nov 18, 2024 · 0 comments

Comments

@gsnider2195
Copy link
Contributor

Environment

  • Nautobot version:
  • pylint-nautobot version:

Proposed Functionality

New rule to check for get_settings_or_config or get_app_settings_or_config being accessed on module import. These functions access the database so they should only be used after the database is ready.

Use Case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant