| 5822 | _Annotated__element: ColumnElement[Any] |
| 5823 | |
| 5824 | def __init__(self, element, values): |
| 5825 | Annotated.__init__(self, element, values) |
| 5826 | for attr in ( |
| 5827 | "comparator", |
| 5828 | "_proxy_key", |
| 5829 | "_tq_key_label", |
| 5830 | "_tq_label", |
| 5831 | "_non_anon_label", |
| 5832 | "type", |
| 5833 | ): |
| 5834 | self.__dict__.pop(attr, None) |
| 5835 | for attr in ("name", "key", "table"): |
| 5836 | if self.__dict__.get(attr, False) is None: |
| 5837 | self.__dict__.pop(attr) |
| 5838 | |
| 5839 | def _with_annotations(self, values): |
| 5840 | clone = super()._with_annotations(values) |