taskiq
taskiq copied to clipboard
fix: sync decorators
use case
@broker.task()
@validate_call()
async def task(arg1: str) -> None: ...
so, the thing is that pydantic's validator_call
is syncronious decorator which returns awaitable future after call
right now receiver can't work with sync decorators on async functions