upd get_callable_str async

This commit is contained in:
Alexander Kalinovsky committed 2025-02-13 02:00:20 +01:00
1 parent a0f21e0f1b
commit ca374cdea0
12 files changed
+117 -83

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ from ....utils.main import get_callable_str
from ..context import ContextData, CallbackCommand
def add_filter_controls(
async def add_filter_controls(
keyboard_builder: InlineKeyboardBuilder,
entity_descriptor: EntityDescriptor,
filter: str = None,
@@ -15,7 +15,7 @@ def add_filter_controls(
):
caption = ", ".join(
[
get_callable_str(
await get_callable_str(
entity_descriptor.fields_descriptors[field_name].caption,
entity_descriptor,
)