Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Merge requests
!237
Added sentry SDK
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added sentry SDK
feature/add-sentry-sdk
into
develop
Overview
2
Commits
6
Pipelines
8
Changes
1
All threads resolved!
Hide all comments
Merged
Neda Moeini
requested to merge
feature/add-sentry-sdk
into
develop
10 months ago
Overview
2
Commits
6
Pipelines
8
Changes
1
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
3ef4e3b0
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
3ef4e3b0
Make linter happy.
· 3ef4e3b0
Neda Moeini
authored
10 months ago
gso/__init__.py
+
2
−
1
Options
"""
The main entrypoint for :term:`GSO`, and the different ways in which it can be run.
"""
import
sentry_sdk
import
typer
from
orchestrator
import
OrchestratorCore
,
app_settings
@@ -41,7 +42,7 @@ def init_worker_app() -> OrchestratorCore:
def
init_cli_app
()
->
typer
.
Typer
:
"""
Initialise :term:`GSO` as a CLI application.
"""
from
gso.cli
import
imports
,
netbox
from
gso.cli
import
imports
,
netbox
# noqa: PLC0415
cli_app
.
add_typer
(
imports
.
app
,
name
=
"
import-cli
"
)
cli_app
.
add_typer
(
netbox
.
app
,
name
=
"
netbox-cli
"
)
Loading