ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class _MySQLParameterEscaper: (source)

Constructor: _MySQLParameterEscaper(original)

View In Hierarchy

Escape binary parameters independently of aiomysql's removed converter.

Method __call__ Convert binary values to charset-independent MySQL hex literals.
Method __init__ Retain the connection's existing nonbinary parameter conversion.
Class Variable __slots__ Declare the instance attribute slots reserved by this class.
Instance Variable _original Original escape method owned by this connection.
def __call__(self, value: object) -> object: (source)

Convert binary values to charset-independent MySQL hex literals.

Parameters
value:objectOne bound DBAPI parameter.
Returns
objectBinary hex literal or the original nonbinary conversion result.
def __init__(self, original: Callable[[object], object]): (source)

Retain the connection's existing nonbinary parameter conversion.

Parameters
original:collections.abc.CallableOriginal escape method owned by this connection.
Returns
NoneNo return value.
__slots__: tuple[str, ...] = (source)

Declare the instance attribute slots reserved by this class.

_original = (source)

Original escape method owned by this connection.