File size: 351 Bytes
dc3a41c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e13cc5b
 
 
 
dc3a41c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from __future__ import annotations

import sys
from pathlib import Path

import uvicorn

sys.path.insert(0, str(Path(__file__).resolve().parent.parent / "src"))

from delivery_dispatch.api import app  # noqa: E402


def main() -> None:
    uvicorn.run(app, host="0.0.0.0", port=7860)


if __name__ == "__main__":
    main()

__all__ = ["app", "main"]