mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
14 lines
584 B
Python
14 lines
584 B
Python
"""
|
|
RoboCo API
|
|
|
|
FastAPI application with WebSocket support for real-time communication.
|
|
|
|
NOTE: this package's `__init__.py` deliberately does NOT re-export `app` or
|
|
`create_app` from `roboco.api.app`. Doing so triggered a transitive load of
|
|
the FastAPI app + every route module whenever any code imported from
|
|
`roboco.api.schemas.X`, which closed circular-import cycles whenever a
|
|
`services/X.py` imported a request schema (services → api.schemas → api/__init__
|
|
→ api.app → routes → services). The bootstrap entrypoint imports the app
|
|
directly via `roboco.api.app:app`.
|
|
"""
|