MCPcopy Create free account
hub / github.com/FloatingOctothorpe/python-kanban / delete_card

Function delete_card

cards.py:41–45  ·  view source on GitHub ↗

Delete a card

(card_id)

Source from the content-addressed store, hash-verified

39 db.session.commit()
40
41def delete_card(card_id):
42 """Delete a card"""
43 # TODO: handle missing values
44 db.session.delete(Card.query.get(card_id))
45 db.session.commit()
46
47def order_cards(data):
48 """Reposition a specified card"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected