Skip to content

Commit

Permalink
Updated the from_json documentation to reflect the parent board as be…
Browse files Browse the repository at this point in the history
…ing on the arguments, as opposed to the Trello Client I had originally
  • Loading branch information
larssorenson committed May 3, 2015
1 parent 2a1916f commit 9447329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trello/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ def from_json(cls, board, json_obj):
"""
Deserialize the label json object to a Label object
:trello_client: the trello client
:board: the parent board the label is on
:json_obj: the label json object
"""
label = Label(board.client, label_id=json_obj['id'], name=json_obj['name'].encode('utf-8'), color=json_obj['color'])
Expand Down

0 comments on commit 9447329

Please sign in to comment.