Method
__init__
(
self,
role: _TraceAdaptRole,
selectable: Selectable,
*,
equivalents: Optional[_EquivalentColumnMap] = None,
adapt_required: bool = False,
allow_label_resolve: bool = True,
anonymize_labels: bool = False,
adapt_on_names: bool = False,
adapt_from_selectables: Optional[AbstractSet[FromClause]] = None,
)
Source from the content-addressed store, hash-verified
| 552 | __slots__ = ("role",) |
| 553 | |
| 554 | def __init__( |
| 555 | self, |
| 556 | role: _TraceAdaptRole, |
| 557 | selectable: Selectable, |
| 558 | *, |
| 559 | equivalents: Optional[_EquivalentColumnMap] = None, |
| 560 | adapt_required: bool = False, |
| 561 | allow_label_resolve: bool = True, |
| 562 | anonymize_labels: bool = False, |
| 563 | adapt_on_names: bool = False, |
| 564 | adapt_from_selectables: Optional[AbstractSet[FromClause]] = None, |
| 565 | ): |
| 566 | self.role = role |
| 567 | super().__init__( |
| 568 | selectable, |
| 569 | equivalents=equivalents, |
| 570 | adapt_required=adapt_required, |
| 571 | allow_label_resolve=allow_label_resolve, |
| 572 | anonymize_labels=anonymize_labels, |
| 573 | adapt_on_names=adapt_on_names, |
| 574 | adapt_from_selectables=adapt_from_selectables, |
| 575 | ) |
| 576 | |
| 577 | |
| 578 | class ORMAdapter(sql_util.ColumnAdapter): |
Callers
nothing calls this directly
Tested by
no test coverage detected