MCPcopy Index your code
hub / github.com/FloatingOctothorpe/python-kanban / all_cards

Function all_cards

cards.py:31–33  ·  view source on GitHub ↗

Return JSON for all cards, sorted by the order_by attribute

()

Source from the content-addressed store, hash-verified

29 }
30
31def all_cards():
32 """Return JSON for all cards, sorted by the order_by attribute"""
33 return [card.json() for card in Card.query.order_by(Card.sort_order.asc()).all()]
34
35def create_card(text, **kwargs):
36 """Create a new card"""

Callers

nothing calls this directly

Calls 1

jsonMethod · 0.80

Tested by

no test coverage detected