Updates after testing

This commit is contained in:
emfurst 2026-03-30 20:42:08 -04:00
commit 04095c9970
15 changed files with 238 additions and 33 deletions

View file

@ -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()