This commit is contained in:
2025-11-07 21:25:35 +03:00
parent 16e7cc21fb
commit 8edd59c1b8
11 changed files with 48 additions and 78 deletions
+3 -9
View File
@@ -1,16 +1,10 @@
from argenta import App, Orchestrator
from argenta.app import PredefinedMessages, StaticDividingLine
from argenta.app import PredefinedMessages
from argenta.app.dividing_line.models import StaticDividingLine, DynamicDividingLine
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
dividing_line=DynamicDividingLine('^'),
)
orchestrator: Orchestrator = Orchestrator()