Skip to content

Commit

Permalink
Card needs more attributes to be created from Board.all_cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego J. Romero López committed Aug 1, 2016
1 parent 6b85694 commit 4494bce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trello/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ def from_json(cls, parent, json_obj):
card.due = json_obj.get('due', '')
card.closed = json_obj['closed']
card.url = json_obj['url']
card.pos = json_obj['pos']
card.shortUrl = json_obj['shortUrl']
card.idMembers = json_obj['idMembers']
card.member_ids = json_obj['idMembers']
card.idLabels = json_obj['idLabels']
card.idList = json_obj['idList']
Expand Down

0 comments on commit 4494bce

Please sign in to comment.