Relationship subclass used implicitly for declarative mapping.
| 3501 | |
| 3502 | |
| 3503 | class _RelationshipDeclared( # type: ignore[misc] |
| 3504 | Relationship[_T], |
| 3505 | WriteOnlyMapped[_T], # not compatible with Mapped[_T] |
| 3506 | DynamicMapped[_T], # not compatible with Mapped[_T] |
| 3507 | ): |
| 3508 | """Relationship subclass used implicitly for declarative mapping.""" |
| 3509 | |
| 3510 | inherit_cache = True |
| 3511 | """:meta private:""" |
| 3512 | |
| 3513 | @classmethod |
| 3514 | def _mapper_property_name(cls) -> str: |
| 3515 | return "Relationship" |