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

fix: Use App without extras installed #233

Merged
merged 3 commits into from
Aug 9, 2023
Merged

Conversation

snaselj
Copy link
Contributor

@snaselj snaselj commented Aug 9, 2023

Closes NaN

Currently, when installing without extras, ChatOps App fails to initialize. This PR fixes that to allow nautobot/nautobot-app-ssot#137

What's changed:

  • Moved Grafana VALID_MODELS to grafana models to avoid unnecessary import.
  • Encapsulate importing grafana urls to try ... except block

Currently, when installing without extras, ChatOps App fails to
initialize.

What's changed:

- Moved Grafana VALID_MODELS to grafana models to avoid unnecessary
  import.
- Encapsulate importing grafana urls to `try ... except` block
@snaselj snaselj marked this pull request as ready for review August 9, 2023 08:34
@smk4664 smk4664 merged commit de82f82 into develop Aug 9, 2023
30 checks passed
This was referenced Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants