From 94473299c8fc02881a475cda3822abb06e32afe7 Mon Sep 17 00:00:00 2001 From: Lars Sorenson Date: Sun, 3 May 2015 16:01:58 -0400 Subject: [PATCH] Updated the from_json documentation to reflect the parent board as being on the arguments, as opposed to the Trello Client I had originally --- trello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trello/__init__.py b/trello/__init__.py index 2ccba990..4282a19d 100644 --- a/trello/__init__.py +++ b/trello/__init__.py @@ -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'])