MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _RelationshipArgs

Class _RelationshipArgs

lib/sqlalchemy/orm/relationships.py:313–340  ·  view source on GitHub ↗

stores user-passed parameters that are resolved at mapper configuration time.

Source from the content-addressed store, hash-verified

311
312
313class _RelationshipArgs(NamedTuple):
314 """stores user-passed parameters that are resolved at mapper configuration
315 time.
316
317 """
318
319 secondary: _RelationshipArg[
320 Optional[_RelationshipSecondaryArgument],
321 Optional[FromClause],
322 ]
323 primaryjoin: _RelationshipArg[
324 Optional[_RelationshipJoinConditionArgument],
325 Optional[ColumnElement[Any]],
326 ]
327 secondaryjoin: _RelationshipArg[
328 Optional[_RelationshipJoinConditionArgument],
329 Optional[ColumnElement[Any]],
330 ]
331 order_by: _RelationshipArg[_ORMOrderByArgument, _RelationshipOrderByArg]
332 foreign_keys: _RelationshipArg[
333 Optional[_ORMColCollectionArgument], Set[ColumnElement[Any]]
334 ]
335 remote_side: _RelationshipArg[
336 Optional[_ORMColCollectionArgument], Set[ColumnElement[Any]]
337 ]
338 back_populates: _StringRelationshipArg[
339 Optional[_RelationshipBackPopulatesArgument], str
340 ]
341
342
343@log.class_logger

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected