asyncworker.types package#

Submodules#

asyncworker.types.registry module#

class asyncworker.types.registry.RegistryItem(type: Type, value: Any, type_args: Optional[Tuple] = None)[código fonte]#

Base: object

class asyncworker.types.registry.TypesRegistry[código fonte]#

Base: object

get(_type: Type, param_name: Optional[str] = None, type_args=None) Optional[Any][código fonte]#
set(obj: Any, type_definition: Optional[Type] = None, param_name: Optional[str] = None) None[código fonte]#

asyncworker.types.resolver module#

class asyncworker.types.resolver.ArgResolver(registry: asyncworker.types.registry.TypesRegistry, *extra_registries: asyncworker.types.registry.TypesRegistry)[código fonte]#

Base: object

resolve_param(param_type: Type, param_name: str) Optional[Any][código fonte]#
wrap(coro_ref)[código fonte]#
exception asyncworker.types.resolver.MissingTypeAnnotationError[código fonte]#

Base: Exception

Module contents#