aiogram/CHANGES/1281.bugfix.rst
Alex Root Junior ee8e457c5f
#1281 Fix magic operation .as_ for values interpreted as False (#1283)
Modified the ".as_" method in the magic filter class to correctly handle values that are interpreted as `False` such as `0`. Previously, the method incorrectly dismissed these valid values. The issue was identified and fixed to ensure correct handling of all valid data inputs.
2023-08-26 22:33:32 +03:00

1 line
98 B
ReStructuredText

Fixed magic :code:`.as_(...)` operation for values that can be interpreted as `False` (e.g. `0`).