| 5387 | _Annotated__element: ColumnElement[Any] |
| 5388 | |
| 5389 | def __init__(self, element, values): |
| 5390 | Annotated.__init__(self, element, values) |
| 5391 | for attr in ( |
| 5392 | "comparator", |
| 5393 | "_proxy_key", |
| 5394 | "_tq_key_label", |
| 5395 | "_tq_label", |
| 5396 | "_non_anon_label", |
| 5397 | "type", |
| 5398 | ): |
| 5399 | self.__dict__.pop(attr, None) |
| 5400 | for attr in ("name", "key", "table"): |
| 5401 | if self.__dict__.get(attr, False) is None: |
| 5402 | self.__dict__.pop(attr) |
| 5403 | |
| 5404 | def _with_annotations(self, values): |
| 5405 | clone = super()._with_annotations(values) |