mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
14 lines
269 B
Python
14 lines
269 B
Python
# main.py
|
|
from argenta import App, Orchestrator
|
|
from .routers import router
|
|
|
|
app: App = App()
|
|
orchestrator: Orchestrator = Orchestrator()
|
|
|
|
def main() -> None:
|
|
app.include_router(router)
|
|
orchestrator.start_polling(app)
|
|
|
|
if __name__ == '__main__':
|
|
main()
|
|
|