MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / instance

Method instance

lib/sqlalchemy/exc.py:567–577  ·  view source on GitHub ↗
(
        cls,
        statement: Optional[str],
        params: Optional[_AnyExecuteParams],
        orig: Exception,
        dbapi_base_err: Type[Exception],
        hide_parameters: bool = False,
        connection_invalidated: bool = False,
        dialect: Optional[Dialect] = None,
        ismulti: Optional[bool] = None,
    )

Source from the content-addressed store, hash-verified

565 @overload
566 @classmethod
567 def instance(
568 cls,
569 statement: Optional[str],
570 params: Optional[_AnyExecuteParams],
571 orig: Exception,
572 dbapi_base_err: Type[Exception],
573 hide_parameters: bool = False,
574 connection_invalidated: bool = False,
575 dialect: Optional[Dialect] = None,
576 ismulti: Optional[bool] = None,
577 ) -> StatementError: ...
578
579 @overload
580 @classmethod

Calls 2

StatementErrorClass · 0.85
getMethod · 0.45