Method
to_metadata
(self, metadata: MetaData, table: Table)
Source from the content-addressed store, hash-verified
| 613 | return self.table |
| 614 | |
| 615 | def to_metadata(self, metadata: MetaData, table: Table) -> Self: |
| 616 | new = self.__class__.__new__(self.__class__) |
| 617 | new.__dict__.update(self.__dict__) |
| 618 | new.metadata = metadata |
| 619 | new.table = table |
| 620 | return new |
| 621 | |
| 622 | @util.preload_module("sqlalchemy.sql.schema") |
| 623 | def _gen_table(self) -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected