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
| 556 | __slots__ = ("role",) |
| 557 | |
| 558 | def __init__( |
| 559 | self, |
| 560 | role: _TraceAdaptRole, |
| 561 | selectable: Selectable, |
| 562 | *, |
| 563 | equivalents: Optional[_EquivalentColumnMap] = None, |
| 564 | adapt_required: bool = False, |
| 565 | allow_label_resolve: bool = True, |
| 566 | anonymize_labels: bool = False, |
| 567 | adapt_on_names: bool = False, |
| 568 | adapt_from_selectables: Optional[AbstractSet[FromClause]] = None, |
| 569 | ): |
| 570 | self.role = role |
| 571 | super().__init__( |
| 572 | selectable, |
| 573 | equivalents=equivalents, |
| 574 | adapt_required=adapt_required, |
| 575 | allow_label_resolve=allow_label_resolve, |
| 576 | anonymize_labels=anonymize_labels, |
| 577 | adapt_on_names=adapt_on_names, |
| 578 | adapt_from_selectables=adapt_from_selectables, |
| 579 | ) |
| 580 | |
| 581 | |
| 582 | class ORMAdapter(sql_util.ColumnAdapter): |
Callers
nothing calls this directly
Tested by
no test coverage detected