Method
__reduce__
lib/sqlalchemy/exc.py:732–745
· lib/sqlalchemy/exc.py::DBAPIError.__reduce__
(self)
Source from the content-addressed store, hash-verified
| 730 | ) |
| 731 | |
| 732 | def __reduce__(self) -> Union[str, Tuple[Any, ...]]: |
| 733 | return ( |
| 734 | self.__class__, |
| 735 | ( |
| 736 | self.statement, |
| 737 | self.params, |
| 738 | self.orig, |
| 739 | self.hide_parameters, |
| 740 | self.connection_invalidated, |
| 741 | self.__dict__.get(class="st">"code"), |
| 742 | self.ismulti, |
| 743 | ), |
| 744 | {class="st">"detail": self.detail}, |
| 745 | ) |
| 746 | |
| 747 | def __init__( |
| 748 | self, |
Callers
nothing calls this directly
Tested by
no test coverage detected