mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
deps(pydantic): bump pydantic to 1.5
lint code
This commit is contained in:
parent
2d4419ecdc
commit
ba4e535f5a
4 changed files with 200 additions and 191 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# todo
|
||||
from aiogram.dispatcher.requirement import Requirement, get_reqs_from_class, get_reqs_from_callable
|
||||
from aiogram.dispatcher.requirement import Requirement, get_reqs_from_callable, get_reqs_from_class
|
||||
|
||||
tick_data = {"ticks": 0}
|
||||
|
||||
|
|
@ -8,11 +8,7 @@ req1 = Requirement(lambda: 1)
|
|||
req2 = Requirement(lambda: 1)
|
||||
|
||||
|
||||
async def callback(
|
||||
o,
|
||||
x=req1,
|
||||
y=req2
|
||||
):
|
||||
async def callback(o, x=req1, y=req2):
|
||||
...
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue