fix typehint: date -> str

This commit is contained in:
2025-11-14 12:51:42 +03:00
parent 27249be467
commit 9b9e81c61d

View File

@@ -12,7 +12,7 @@ async def input_title(
callback: CallbackQuery,
widget: ManagedTextInput,
manager: DialogManager,
text: date,
text: str,
):
if "event_obj" not in manager.dialog_data:
manager.dialog_data["event_obj"] = {}
@@ -24,7 +24,7 @@ async def input_description(
callback: CallbackQuery,
widget: ManagedTextInput,
manager: DialogManager,
text: date,
text: str,
):
manager.dialog_data["event_obj"]["description"] = text
await manager.next()