From 4efab4546c7deab9b37a667fe77afd33298db6bc Mon Sep 17 00:00:00 2001 From: John Bulcher Date: Tue, 18 Oct 2016 08:33:57 -0700 Subject: [PATCH] add change_pos functionality --- trello/card.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/trello/card.py b/trello/card.py index 952ed306..b07f0f79 100644 --- a/trello/card.py +++ b/trello/card.py @@ -566,6 +566,12 @@ def remove_attachment(self, attachment_id): '/cards/' + self.id + '/attachments/' + attachment_id, http_method='DELETE') + def change_pos(self, position): + self.client.fetch_json( + '/cards/' + self.id + '/pos', + http_method='PUT', + post_args={'value': position}) + def change_list(self, list_id): self.client.fetch_json( '/cards/' + self.id + '/idList',