Skip to content

Commit b72e151

Browse files
authored
Merge pull request #471 from lubaskinc0de/develop
positional only predicate
2 parents d782b98 + ae4f633 commit b72e151

File tree

1 file changed

+1
-0
lines changed
  • src/aiogram_dialog/widgets/common

1 file changed

+1
-0
lines changed

src/aiogram_dialog/widgets/common/when.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def __call__(
1515
data: dict,
1616
widget: Whenable,
1717
dialog_manager: DialogManager,
18+
/,
1819
) -> bool:
1920
"""
2021
Check if widget should be shown.

0 commit comments

Comments
 (0)