MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _RelationshipDeclared

Class _RelationshipDeclared

lib/sqlalchemy/orm/relationships.py:3586–3598  ·  lib/sqlalchemy/orm/relationships.py::_RelationshipDeclared

Relationship subclass used implicitly for declarative mapping.

Source from the content-addressed store, hash-verified

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

Callers 1

relationshipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected