examples: orchestrator + click CLI (ingest sub-command)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
parent
a10d7fe2a6
commit
2271d7d5e5
4 changed files with 256 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ import numpy as np
|
|||
from sqlalchemy.ext.asyncio import async_sessionmaker
|
||||
|
||||
from fire_planner.db import create_engine_from_env, make_session_factory
|
||||
from fire_planner.examples.cli import examples_cli
|
||||
from fire_planner.glide_path import get as get_glide
|
||||
from fire_planner.ingest.wealthfolio import upsert_snapshots
|
||||
from fire_planner.ingest.wealthfolio_pg import (
|
||||
|
|
@ -363,5 +364,8 @@ def serve() -> None:
|
|||
uvicorn.run("fire_planner.app:app", host="0.0.0.0", port=8080)
|
||||
|
||||
|
||||
cli.add_command(examples_cli)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
cli()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue