This commit is contained in:
2025-11-02 01:04:31 +03:00
parent 64c984a704
commit 9c58c10152
70 changed files with 341 additions and 391 deletions
+2 -1
View File
@@ -14,6 +14,7 @@ class ConnectionProvider(Provider):
yield conn
conn.close()
# 2. Создаем и настраиваем App
app = App()
# ... здесь можно добавить роутеры ...
@@ -23,4 +24,4 @@ orchestrator = Orchestrator(custom_providers=[ConnectionProvider()])
# 4. Запускаем приложение
if __name__ == "__main__":
orchestrator.start_polling(app)
orchestrator.start_polling(app)