MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / get_card

Function get_card

backend/src/flashcards/services.py:106–107  ·  view source on GitHub ↗
(session: Session, card_id: uuid.UUID)

Source from the content-addressed store, hash-verified

104
105
106def get_card(session: Session, card_id: uuid.UUID) -> Card | None:
107 return session.get(Card, card_id)
108
109
110def get_card_with_collection(

Callers 2

test_get_cardFunction · 0.90
test_get_card_not_foundFunction · 0.90

Calls

no outgoing calls

Tested by 2

test_get_cardFunction · 0.72
test_get_card_not_foundFunction · 0.72