File size: 435 Bytes
7492bfe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
Thin shim that re-exports the FastAPI app from the data_cleaning_env package.

openenv validate expects server/app.py with a def main() at the project root.
"""

from data_cleaning_env.server.app import app  # noqa: F401


def main(host: str = "0.0.0.0", port: int = 8000) -> None:
    """Entry point for running the server."""
    import uvicorn

    uvicorn.run(app, host=host, port=port)


if __name__ == "__main__":
    main()