Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
typing_extensions.py File Reference

Go to the source code of this file.

Data Structures

class  _Sentinel
 
class  _AnyMeta
 
class  Any
 
class  _ExtensionsSpecialForm
 
class  _FinalForm
 
class  _LiteralGenericAlias
 
class  _LiteralForm
 
class  _ProtocolMeta
 
class  Protocol
 
class  SupportsInt
 
class  SupportsFloat
 
class  SupportsComplex
 
class  SupportsBytes
 
class  SupportsIndex
 
class  SupportsAbs
 
class  SupportsRound
 
class  _TypedDictMeta
 
class  _AnnotatedAlias
 
class  Annotated
 
class  _DefaultMixin
 
class  _TypeVarLikeMeta
 
class  TypeVar
 
class  _Immutable
 
class  ParamSpecArgs
 
class  ParamSpecKwargs
 
class  ParamSpec
 
class  _ConcatenateGenericAlias
 
class  _ConcatenateForm
 
class  _TypeGuardForm
 
class  _SpecialForm
 
class  _RequiredForm
 
class  _UnpackSpecialForm
 
class  _UnpackAlias
 
class  _UnpackForm
 
class  TypeVarTuple
 
class  _NamedTupleMeta
 
class  Buffer
 
class  NewType
 
class  TypeAliasType
 

Namespaces

namespace  pip
 
namespace  pip._vendor
 
namespace  pip._vendor.typing_extensions
 

Functions

 _check_generic (cls, parameters, elen=_marker)
 
 _should_collect_from_parameters (t)
 
 _collect_type_vars (types, typevar_types=None)
 
 final (f)
 
 IntVar (name)
 
 _flatten_literal_params (parameters)
 
 _value_and_type_iter (params)
 
 overload (func)
 
 get_overloads (func)
 
 _get_protocol_attrs (cls)
 
 _maybe_adjust_parameters (cls)
 
 _caller (depth=2)
 
 _allow_reckless_class_checks (depth=3)
 
 _no_init (self, *args, **kwargs)
 
 _proto_hook (cls, other)
 
 runtime_checkable (cls)
 
 _ensure_subclassable (mro_entries)
 
 TypedDict (__typename, __fields=_marker, *total=True, **kwargs)
 
 is_typeddict (tp)
 
 assert_type (__val, __typ)
 
 _strip_extras (t)
 
 get_type_hints (obj, globalns=None, localns=None, include_extras=False)
 
 get_origin (tp)
 
 get_args (tp)
 
 TypeAlias (self, parameters)
 
 _set_default (type_param, default)
 
 _set_module (typevarlike)
 
 _concatenate_getitem (self, parameters)
 
 Concatenate (self, parameters)
 
 TypeGuard (self, parameters)
 
 LiteralString (self, params)
 
 Self (self, params)
 
 Never (self, params)
 
 Required (self, parameters)
 
 NotRequired (self, parameters)
 
 _is_unpack (obj)
 
 Unpack (self, parameters)
 
T reveal_type (T __obj)
 
Never assert_never (Never __arg)
 
typing.Callable[[T], Tdataclass_transform (*bool eq_default=True, bool order_default=False, bool kw_only_default=False, bool frozen_default=False, typing.Tuple[typing.Union[typing.Type[typing.Any], typing.Callable[..., typing.Any]],...] field_specifiers=(), **typing.Any kwargs)
 
_F override (_F __arg)
 
typing.Callable[[_T], _Tdeprecated (str __msg, *typing.Optional[typing.Type[Warning]] category=DeprecationWarning, int stacklevel=1)
 
 _make_nmtuple (name, types, module, defaults=())
 
 _namedtuple_mro_entries (bases)
 
 NamedTuple (__typename, __fields=_marker, **kwargs)
 
 get_original_bases (__cls)
 
 _is_unionable (obj)
 
bool is_protocol (type __tp)
 
typing.FrozenSet[str] get_protocol_members (type __tp)
 

Variables

bool PEP_560 = True
 
 GenericMeta = type
 
 _marker = _Sentinel()
 
 NoReturn = typing.NoReturn
 
 T = typing.TypeVar('T')
 
 KT = typing.TypeVar('KT')
 
 VT = typing.TypeVar('VT')
 
 T_co = typing.TypeVar('T_co', covariant=True)
 
 T_contra = typing.TypeVar('T_contra', contravariant=True)
 
 ClassVar = typing.ClassVar
 
 Final = typing.Final
 
 doc
 
 final = typing.final
 
 Literal = typing.Literal
 
 _overload_dummy = typing._overload_dummy
 
 overload = typing.overload
 
 get_overloads = typing.get_overloads
 
 clear_overloads = typing.clear_overloads
 
 _overload_registry
 
 Type = typing.Type
 
 Awaitable = typing.Awaitable
 
 Coroutine = typing.Coroutine
 
 AsyncIterable = typing.AsyncIterable
 
 AsyncIterator = typing.AsyncIterator
 
 Deque = typing.Deque
 
 ContextManager = typing.ContextManager
 
 AsyncContextManager = typing.AsyncContextManager
 
 DefaultDict = typing.DefaultDict
 
 OrderedDict = typing.OrderedDict
 
 Counter = typing.Counter
 
 ChainMap = typing.ChainMap
 
 AsyncGenerator = typing.AsyncGenerator
 
 Text = typing.Text
 
 TYPE_CHECKING = typing.TYPE_CHECKING
 
dict _PROTO_ALLOWLIST
 
dict _EXCLUDED_ATTRS
 
 Protocol = typing.Protocol
 
 _typing_Protocol = typing.Protocol
 
 _ProtocolMetaBase = type(_typing_Protocol)
 
 runtime_checkable = typing.runtime_checkable
 
 runtime = runtime_checkable
 
 SupportsInt = typing.SupportsInt
 
 SupportsFloat = typing.SupportsFloat
 
 SupportsComplex = typing.SupportsComplex
 
 SupportsBytes = typing.SupportsBytes
 
 SupportsIndex = typing.SupportsIndex
 
 SupportsAbs = typing.SupportsAbs
 
 SupportsRound = typing.SupportsRound
 
 TypedDict = typing.TypedDict
 
 _TypedDictMeta = typing._TypedDictMeta
 
 is_typeddict = typing.is_typeddict
 
str _TAKES_MODULE = "module" in inspect.signature(typing._type_check).parameters
 
str _fake_name = "Protocol"
 
 _TypedDict
 
tuple _TYPEDDICT_TYPES = (typing._TypedDictMeta, _TypedDictMeta)
 
 assert_type = typing.assert_type
 
 get_type_hints = typing.get_type_hints
 
 Annotated = typing.Annotated
 
 _AnnotatedAlias = typing._AnnotatedAlias
 
 get_origin = typing.get_origin
 
 get_args = typing.get_args
 
 _BaseGenericAlias = typing._GenericAlias
 
 _typing_GenericAlias = typing._GenericAlias
 
 TypeAlias = typing.TypeAlias
 
 ParamSpecArgs = typing.ParamSpecArgs
 
 ParamSpecKwargs = typing.ParamSpecKwargs
 
 Concatenate = typing.Concatenate
 
 _ConcatenateGenericAlias = typing._ConcatenateGenericAlias
 
 TypeGuard = typing.TypeGuard
 
 LiteralString = typing.LiteralString
 
 Self = typing.Self
 
 Never = typing.Never
 
 Required = typing.Required
 
 NotRequired = typing.NotRequired
 
str _UNPACK_DOC
 
 Unpack = typing.Unpack
 
 reveal_type = typing.reveal_type
 
 assert_never = typing.assert_never
 
 dataclass_transform = typing.dataclass_transform
 
 override = typing.override
 
 _F = typing.TypeVar("_F", bound=typing.Callable[..., typing.Any])
 
 deprecated = typing.deprecated
 
 _T = typing.TypeVar("_T")
 
 _collect_type_vars
 
 _check_generic
 
 NamedTuple = typing.NamedTuple
 
 _prohibited_namedtuple_fields = typing._prohibited
 
 _special_namedtuple_fields = frozenset({'__module__', '__name__', '__annotations__'})
 
 _NamedTuple
 
str _new_signature = '(typename, fields=None, /, **kwargs)'
 
 Buffer = collections.abc.Buffer
 
 get_original_bases = _types.get_original_bases
 
 NewType = typing.NewType
 
 TypeAliasType = typing.TypeAliasType
 
 is_protocol = typing.is_protocol
 
 get_protocol_members = typing.get_protocol_members
 
 AbstractSet = typing.AbstractSet
 
 AnyStr = typing.AnyStr
 
 BinaryIO = typing.BinaryIO
 
 Callable = typing.Callable
 
 Collection = typing.Collection
 
 Container = typing.Container
 
 Dict = typing.Dict
 
 ForwardRef = typing.ForwardRef
 
 FrozenSet = typing.FrozenSet
 
 Generator = typing.Generator
 
 Generic = typing.Generic
 
 Hashable = typing.Hashable
 
 IO = typing.IO
 
 ItemsView = typing.ItemsView
 
 Iterable = typing.Iterable
 
 Iterator = typing.Iterator
 
 KeysView = typing.KeysView
 
 List = typing.List
 
 Mapping = typing.Mapping
 
 MappingView = typing.MappingView
 
 Match = typing.Match
 
 MutableMapping = typing.MutableMapping
 
 MutableSequence = typing.MutableSequence
 
 MutableSet = typing.MutableSet
 
 Optional = typing.Optional
 
 Pattern = typing.Pattern
 
 Reversible = typing.Reversible
 
 Sequence = typing.Sequence
 
 Set = typing.Set
 
 Sized = typing.Sized
 
 TextIO = typing.TextIO
 
 Tuple = typing.Tuple
 
 Union = typing.Union
 
 ValuesView = typing.ValuesView
 
 cast = typing.cast
 
 no_type_check = typing.no_type_check
 
 no_type_check_decorator = typing.no_type_check_decorator
 
 _is_runtime_protocol