Updates after testing
This commit is contained in:
parent
2c9ae1c312
commit
04095c9970
15 changed files with 238 additions and 33 deletions
|
|
@ -80,8 +80,8 @@ def ipeds(
|
|||
@ingest_app.command()
|
||||
def irs990(
|
||||
year_range: Annotated[
|
||||
str, typer.Option(help="Year range for index files, e.g. 2019-2024")
|
||||
] = "2019-2024",
|
||||
str, typer.Option(help="Year range for index files, e.g. 2019-2025")
|
||||
] = "2019-2025",
|
||||
force: Annotated[
|
||||
bool, typer.Option("--force", help="Re-download even if files exist")
|
||||
] = False,
|
||||
|
|
@ -163,6 +163,7 @@ def scrape() -> None:
|
|||
|
||||
@app.command()
|
||||
def dashboard(
|
||||
host: Annotated[str, typer.Option(help="Host to bind to (0.0.0.0 for network access)")] = "127.0.0.1",
|
||||
port: Annotated[int, typer.Option(help="Port to serve on")] = 8050,
|
||||
debug: Annotated[bool, typer.Option(help="Enable Dash debug mode")] = True,
|
||||
) -> None:
|
||||
|
|
@ -170,8 +171,8 @@ def dashboard(
|
|||
from admin_analytics.dashboard.app import create_app
|
||||
|
||||
dash_app = create_app()
|
||||
typer.echo(f"Starting dashboard at http://localhost:{port}/")
|
||||
dash_app.run(debug=debug, port=port)
|
||||
typer.echo(f"Starting dashboard at http://{host}:{port}/")
|
||||
dash_app.run(host=host, debug=debug, port=port)
|
||||
|
||||
|
||||
@app.command()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue