(
self,
dialect,
connection,
checkfirst=CheckFirst.NONE,
tables=None,
**kwargs,
)
| 1346 | |
| 1347 | class SchemaGenerator(InvokeCreateDDLBase): |
| 1348 | def __init__( |
| 1349 | self, |
| 1350 | dialect, |
| 1351 | connection, |
| 1352 | checkfirst=CheckFirst.NONE, |
| 1353 | tables=None, |
| 1354 | **kwargs, |
| 1355 | ): |
| 1356 | super().__init__(connection, **kwargs) |
| 1357 | self.checkfirst = CheckFirst(checkfirst) |
| 1358 | self.tables = tables |
| 1359 | self.preparer = dialect.identifier_preparer |
| 1360 | self.dialect = dialect |
| 1361 | self.memo = {} |
| 1362 | |
| 1363 | def _can_create_table(self, table): |
| 1364 | self.dialect.validate_identifier(table.name) |
nothing calls this directly
no test coverage detected