From 1344e312de00c2d71efda95408c33d5fd5783cd6 Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Sat, 2 Feb 2019 19:24:14 -0500 Subject: [PATCH 1/3] Adding gen_docs.py --- gen_docs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gen_docs.py b/gen_docs.py index 4e8d45a..02cbad1 100644 --- a/gen_docs.py +++ b/gen_docs.py @@ -7,7 +7,6 @@ from scrython.catalog import * from scrython.rulings import * from scrython.sets import * from scrython.symbology import * -from types import FunctionType def format_args(string, f): f.write('\n## Args\n\n|arg|type|description|\n|:---:|:---:|:---:|\n') From 48815952e597116a0d8b5bcaf4d241e84afcd28f Mon Sep 17 00:00:00 2001 From: Tim Scott Date: Sat, 23 Mar 2019 21:53:42 -0500 Subject: [PATCH 2/3] Add 'include_variations' search option for cards. --- scrython/cards/search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrython/cards/search.py b/scrython/cards/search.py index cb77eb0..3c91a34 100644 --- a/scrython/cards/search.py +++ b/scrython/cards/search.py @@ -66,13 +66,14 @@ class Search(FoundationObject): 'order':kwargs.get('order', 'none'), 'unique':kwargs.get('unique', 'none'), 'dir':kwargs.get('dir', 'none'), + 'include_variations':kwargs.get('include_variations','false'), 'include_extras':kwargs.get('include_extras', 'false'), 'include_multilingual':kwargs.get('include_multilingual', 'false'), 'page':kwargs.get('page', '1') } - self.args = urllib.parse.urlencode(self.dict) self.url = 'cards/search?' + self.args + #print("URL: " + self.url) super(Search, self).__init__(self.url) From 76821c1e432d26fe49b9d36f86aa00a4d4f1a0b6 Mon Sep 17 00:00:00 2001 From: Tim Scott Date: Wed, 27 Mar 2019 23:26:29 -0500 Subject: [PATCH 3/3] Remove debug line. --- scrython/cards/search.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scrython/cards/search.py b/scrython/cards/search.py index 3c91a34..77f2381 100644 --- a/scrython/cards/search.py +++ b/scrython/cards/search.py @@ -73,7 +73,6 @@ class Search(FoundationObject): } self.args = urllib.parse.urlencode(self.dict) self.url = 'cards/search?' + self.args - #print("URL: " + self.url) super(Search, self).__init__(self.url)