This commit is contained in:
2025-11-07 17:00:34 +03:00
parent 4da876b774
commit 16e7cc21fb
4 changed files with 88 additions and 29 deletions
+6
View File
@@ -2,9 +2,15 @@ from argenta import App, Orchestrator
from argenta.app import PredefinedMessages, StaticDividingLine
from mock.mock_app.routers import work_router
def print_hello(entity: str):
with open('hello.txt', 'a') as file:
file.write(f'printer called: {entity}\n')
print(entity)
app: App = App(
dividing_line=StaticDividingLine(),
override_system_messages=True,
print_func=print_hello
)
orchestrator: Orchestrator = Orchestrator()