MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / item_keyword_result

Method item_keyword_result

test/orm/_fixtures.py:527–556  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

525
526 @property
527 def item_keyword_result(self):
528 Item, Keyword = self.test.classes.Item, self.test.classes.Keyword
529 return [
530 Item(
531 id=1,
532 keywords=[
533 Keyword(name="red"),
534 Keyword(name="big"),
535 Keyword(name="round"),
536 ],
537 ),
538 Item(
539 id=2,
540 keywords=[
541 Keyword(name="red"),
542 Keyword(name="small"),
543 Keyword(name="square"),
544 ],
545 ),
546 Item(
547 id=3,
548 keywords=[
549 Keyword(name="green"),
550 Keyword(name="big"),
551 Keyword(name="round"),
552 ],
553 ),
554 Item(id=4, keywords=[]),
555 Item(id=5, keywords=[]),
556 ]
557
558 @property
559 def user_item_keyword_result(self):

Callers

nothing calls this directly

Calls 2

ItemClass · 0.70
KeywordClass · 0.70

Tested by

no test coverage detected