MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/exc.py:231–245  ·  view source on GitHub ↗
(
        self,
        message: str,
        cycles: Any,
        edges: Any,
        msg: Optional[str] = None,
        code: Optional[str] = None,
    )

Source from the content-addressed store, hash-verified

229 """
230
231 def __init__(
232 self,
233 message: str,
234 cycles: Any,
235 edges: Any,
236 msg: Optional[str] = None,
237 code: Optional[str] = None,
238 ):
239 if msg is None:
240 message += " (%s)" % ", ".join(repr(s) for s in cycles)
241 else:
242 message = msg
243 SQLAlchemyError.__init__(self, message, code=code)
244 self.cycles = cycles
245 self.edges = edges
246
247 def __reduce__(self) -> Union[str, Tuple[Any, ...]]:
248 return (

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected