yashmarathe's picture
refactor: move all root-level files to repo root
7492bfe
raw
history blame contribute delete
435 Bytes
"""
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()