mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update aiogram/filters/callback_data.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b171d4bc2f
commit
34b031968b
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class CallbackData(BaseModel):
|
|||
msg = f"Bad prefix ({prefix!r} != {cls.__prefix__!r})"
|
||||
raise ValueError(msg)
|
||||
payload = {}
|
||||
for k, v in zip(names, parts, strict=True): # type: str, str | None
|
||||
for k, v in zip(names, parts, strict=True): # type: str, str
|
||||
if (
|
||||
(field := cls.model_fields.get(k))
|
||||
and v == ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue