File size: 362 Bytes
40e4201
56ddfd4
40e4201
 
 
 
56ddfd4
 
40e4201
 
56ddfd4
40e4201
56ddfd4
f223670
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Compatibility shim for the canonical OpenEnv FastAPI app."""

try:
    from ..app import app, startup_event
except ImportError:  # pragma: no cover - direct execution fallback
    from env.app import app, startup_event


def main() -> None:
    import uvicorn

    uvicorn.run("env.app:app", host="0.0.0.0", port=8000)


if __name__ == "__main__":
    main()