MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/sql/ddl.py:1524–1537  ·  view source on GitHub ↗
(
        self,
        dialect,
        connection,
        checkfirst=CheckFirst.NONE,
        tables=None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

1522
1523class SchemaDropper(InvokeDropDDLBase):
1524 def __init__(
1525 self,
1526 dialect,
1527 connection,
1528 checkfirst=CheckFirst.NONE,
1529 tables=None,
1530 **kwargs,
1531 ):
1532 super().__init__(connection, **kwargs)
1533 self.checkfirst = CheckFirst(checkfirst)
1534 self.tables = tables
1535 self.preparer = dialect.identifier_preparer
1536 self.dialect = dialect
1537 self.memo = {}
1538
1539 def visit_metadata(self, metadata):
1540 if self.tables is not None:

Callers

nothing calls this directly

Calls 2

CheckFirstClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected