Open Sobes76rus opened 4 months ago
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
validator_call
@s3rius all done as you suggested
use case
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