Skip to content
Snippets Groups Projects
Commit fe8a775f authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

pass tests

parent 9ae367ad
No related branches found
No related tags found
1 merge request!101Added celery worker and celery beat
Pipeline #84461 failed
import typer
from orchestrator import OrchestratorCore
from orchestrator import OrchestratorCore, app_settings
from orchestrator.cli.main import app as cli_app
from orchestrator.settings import AppSettings
import gso.products # noqa: F401
import gso.workflows # noqa: F401
from gso.api import router as api_router
from gso.cli import netbox
base_settings = AppSettings() # TODO check if this is correct
def init_gso_app() -> OrchestratorCore:
app = OrchestratorCore(base_settings=base_settings)
app = OrchestratorCore(base_settings=app_settings)
app.include_router(api_router, prefix="/api")
return app
def init_worker_app() -> OrchestratorCore:
return OrchestratorCore(base_settings=base_settings)
return OrchestratorCore(base_settings=app_settings)
def init_cli_app() -> typer.Typer:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment