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

Method __reduce__

lib/sqlalchemy/exc.py:680–693  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

678 )
679
680 def __reduce__(self) -> Union[str, Tuple[Any, ...]]:
681 return (
682 self.__class__,
683 (
684 self.statement,
685 self.params,
686 self.orig,
687 self.hide_parameters,
688 self.connection_invalidated,
689 self.__dict__.get("code"),
690 self.ismulti,
691 ),
692 {"detail": self.detail},
693 )
694
695 def __init__(
696 self,

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected