pydoc_fork.inspector.custom_types
index
../../pydoc_fork/inspector/custom_types.py

Custom Types so mypy can check the code

 
Classes
 
typing.Protocol(typing.Generic)
TypeLike(typing.Protocol)

 
class TypeLike(typing.Protocol)
TypeLike(*args, **kwargs)
 
This is a union of all sort of types
 
 
Method resolution order:
TypeLike
typing.Protocol
typing.Generic
builtins.object

Methods defined here:
__init__ = _no_init(self, *args, **kwargs)
__subclasshook__ = _proto_hook(other)
# Set (or override) the protocol subclass hook.

Data and other attributes defined here:
__abstractmethods__ = frozenset()
__annotations__ = {'__all__': typing.List[str], '__author__': <class 'str'>, '__bases__': typing.List[ForwardRef('TypeLike')], '__credits__': <class 'str'>, ...}
__parameters__ = ()

Class methods inherited from typing.Protocol:
__init_subclass__(*args, **kwargs) from typing._ProtocolMeta

Class methods inherited from typing.Generic:
__class_getitem__(params) from typing._ProtocolMeta