Typing definitions (typing)#

Data:

NestedMapVal

Nested map value type

NestedMap

Nested map type

NestedDictVal

Nested dict value type

NestedDict

Nested dict type

F

Function type

P

Parameter specification

R

Return Type

S

Self Type bound to HasCache

T_DocFiller

Docfiller type

Classes:

HasCache(*args, **kwargs)

Class protocol to mark that classes should have property _cache.

module_utilities.typing.NestedMapVal = 'str | NestedMap'#

Nested map value type

module_utilities.typing.NestedMap(*args, **kwargs)#

Nested map type

alias of Mapping[str, str | NestedMap]

module_utilities.typing.NestedDictVal = 'str | NestedDict'#

Nested dict value type

module_utilities.typing.NestedDict = 'dict[str, NestedDictVal]'#

Nested dict type

module_utilities.typing.F#

Function type

alias of TypeVar(‘F’, bound=Callable[[…], Any])

module_utilities.typing.P = ~P#

Parameter specification

module_utilities.typing.R#

Return Type

alias of TypeVar(‘R’)

module_utilities.typing.S#

Self Type bound to HasCache

alias of TypeVar(‘S’, bound=HasCache)

class module_utilities.typing.HasCache(*args, **kwargs)[source]#

Bases: Protocol

Class protocol to mark that classes should have property _cache.

module_utilities.typing.T_DocFiller#

Docfiller type

alias of TypeVar(‘T_DocFiller’, bound=DocFiller)