module documentation

Base types API.

Class Emulated Mixin for base types that emulate the behavior of a DB-native type.
Class ExternalType mixin that defines attributes and behaviors specific to third-party datatypes.
Class NativeForEmulated Indicates DB-native types supported by an :class:`.Emulated` type.
Class TypeDecorator Allows the creation of types which add additional functionality to an existing type.
Class TypeEngine The ultimate base class for all SQL datatypes.
Class TypeEngineMixin classes which subclass this can act as "mixin" classes for TypeEngine.
Class UserDefinedType Base for user defined types.
Class Variant deprecated. symbol is present for backwards-compatibility with workaround recipes, however this actual type should not be used.
Function adapt_type Undocumented
Function to_instance Undocumented
Class _BaseTypeMemoDict Undocumented
Class _BindProcessorType Undocumented
Class _ComparatorFactory Undocumented
Class _LiteralProcessorType Undocumented
Class _NoValueInList No class docstring; 1/1 constant documented
Class _ResultProcessorType Undocumented
Class _TypeMemoDict Undocumented
Function _is_native_for_emulated Undocumented
Function _reconstitute_comparator Undocumented
Type Variable _CT Undocumented
Type Variable _O Undocumented
Type Variable _T Undocumented
Type Variable _T_co Undocumented
Type Variable _T_con Undocumented
Type Variable _TE Undocumented
Type Alias _MatchedOnType Undocumented
def adapt_type(typeobj: TypeEngine[Any], colspecs: Mapping[Type[Any], Type[TypeEngine[Any]]]) -> TypeEngine[Any]: (source)

Undocumented

@overload
def to_instance(typeobj: Union[Type[_TE], _TE], *arg: Any, **kw: Any) -> _TE:
@overload
def to_instance(typeobj: None, *arg: Any, **kw: Any) -> TypeEngine[None]:
(source)

Undocumented

def _is_native_for_emulated(typ: Type[Union[TypeEngine[Any], TypeEngineMixin]]) -> TypeGuard[Type[NativeForEmulated]]: (source)

Undocumented

def _reconstitute_comparator(expression: Any) -> Any: (source)

Undocumented

Undocumented

Value
TypeVar('_CT',
        bound=Any)

Undocumented

Value
TypeVar('_O',
        bound=object)

Undocumented

Value
TypeVar('_T',
        bound=Any)

Undocumented

Value
TypeVar('_T_co',
        bound=Any, covariant=True)

Undocumented

Value
TypeVar('_T_con',
        bound=Any, contravariant=True)

Undocumented

Value
TypeVar('_TE',
        bound='TypeEngine[Any]')
_MatchedOnType = (source)

Undocumented

Value
Union['GenericProtocol[Any]', NewType, Type[Any]]