MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / _RelationshipDeclared

Class _RelationshipDeclared

lib/sqlalchemy/orm/relationships.py:3586–3598  ·  view source on GitHub ↗

Relationship subclass used implicitly for declarative mapping.

Source from the content-addressed store, hash-verified

3584
3585
3586class _RelationshipDeclared( # type: ignore[misc]
3587 Relationship[_T],
3588 WriteOnlyMapped[_T], # not compatible with Mapped[_T]
3589 DynamicMapped[_T], # not compatible with Mapped[_T]
3590):
3591 """Relationship subclass used implicitly for declarative mapping."""
3592
3593 inherit_cache = True
3594 """:meta private:"""
3595
3596 @classmethod
3597 def _mapper_property_name(cls) -> str:
3598 return "Relationship"

Callers 1

relationshipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected