module documentation

Undocumented

Class SQLAlchemyAttribute No class docstring; 0/5 instance variable, 1/3 method, 0/1 class method documented
Function add_global Undocumented
Function establish_as_sqlalchemy Undocumented
Function fail Undocumented
Function flatten_typechecking Undocumented
Function get_callexpr_kwarg Undocumented
Function get_has_table Undocumented
Function get_is_base Undocumented
Function get_mapped_attributes Undocumented
Function has_declarative_base Undocumented
Function info_for_cls Undocumented
Function name_is_dunder Undocumented
Function set_has_table Undocumented
Function set_is_base Undocumented
Function set_mapped_attributes Undocumented
Function type_for_callee Undocumented
Function unbound_to_instance Take the UnboundType that we seem to get as the ret_type from a FuncDef and convert it into an Instance/TypeInfo kind of structure that seems to work as the left-hand type of an AssignmentStatement.
Function _get_info_metadata Undocumented
Function _get_info_mro_metadata Undocumented
Function _set_info_metadata Undocumented
Type Variable _TArgType Undocumented
def add_global(ctx: Union[ClassDefContext, DynamicClassDefContext], module: str, symbol_name: str, asname: str): (source)

Undocumented

def establish_as_sqlalchemy(info: TypeInfo): (source)

Undocumented

Undocumented

def flatten_typechecking(stmts: Iterable[Statement]) -> Iterator[Statement]: (source)

Undocumented

@overload
def get_callexpr_kwarg(callexpr: CallExpr, name: str, *, expr_types: None = ...) -> Optional[Union[CallExpr, NameExpr]]:
@overload
def get_callexpr_kwarg(callexpr: CallExpr, name: str, *, expr_types: Tuple[TypingType[_TArgType], ...]) -> Optional[_TArgType]:
(source)

Undocumented

def get_has_table(info: TypeInfo) -> bool: (source)

Undocumented

def get_is_base(info: TypeInfo) -> bool: (source)

Undocumented

Undocumented

def has_declarative_base(info: TypeInfo) -> bool: (source)

Undocumented

Undocumented

def name_is_dunder(name: str) -> bool: (source)

Undocumented

def set_has_table(info: TypeInfo): (source)

Undocumented

def set_is_base(info: TypeInfo): (source)

Undocumented

def set_mapped_attributes(info: TypeInfo, attributes: List[SQLAlchemyAttribute]): (source)

Undocumented

def type_for_callee(callee: Expression) -> Optional[Union[Instance, TypeInfo]]: (source)

Undocumented

def unbound_to_instance(api: SemanticAnalyzerPluginInterface, typ: Type) -> Type: (source)

Take the UnboundType that we seem to get as the ret_type from a FuncDef and convert it into an Instance/TypeInfo kind of structure that seems to work as the left-hand type of an AssignmentStatement.

def _get_info_metadata(info: TypeInfo, key: str) -> Optional[Any]: (source)

Undocumented

def _get_info_mro_metadata(info: TypeInfo, key: str) -> Optional[Any]: (source)

Undocumented

def _set_info_metadata(info: TypeInfo, key: str, data: Any): (source)

Undocumented

_TArgType = (source)

Undocumented

Value
TypeVar('_TArgType',
        bound=Union[CallExpr, NameExpr])