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

Function delete_collection

backend/src/flashcards/services.py:85–87  ·  view source on GitHub ↗
(session: Session, collection: Collection)

Source from the content-addressed store, hash-verified

83
84
85def delete_collection(session: Session, collection: Collection) -> None:
86 session.delete(collection)
87 session.commit()
88
89
90def get_cards(

Callers 1

test_delete_collectionFunction · 0.90

Calls 1

deleteMethod · 0.65

Tested by 1

test_delete_collectionFunction · 0.72