From 8e13e67a38a8948eb42289aadf19e2a79309c17e Mon Sep 17 00:00:00 2001 From: Aris Santas Date: Thu, 30 Apr 2020 13:11:58 -0400 Subject: [PATCH 1/2] Fix incorrect tag param in list_by_tag --- src/citrine/resources/data_concepts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citrine/resources/data_concepts.py b/src/citrine/resources/data_concepts.py index 1181e37b0..11604632f 100644 --- a/src/citrine/resources/data_concepts.py +++ b/src/citrine/resources/data_concepts.py @@ -542,7 +542,7 @@ def list_by_tag(self, tag: str, per_page: int = 100) -> Iterator[ResourceType]: Every object in this collection. """ - params = {'tag': tag} + params = {'tags': [tag]} if self.dataset_id is not None: params['dataset_id'] = str(self.dataset_id) raw_objects = self.session.cursor_paged_resource( From 0eeb310f17334412ccf010e652a22bb7848f7827 Mon Sep 17 00:00:00 2001 From: Aris Santas Date: Thu, 30 Apr 2020 13:16:13 -0400 Subject: [PATCH 2/2] Version bump --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 87950145e..3570e6335 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def run(self): setup(name='citrine', - version='0.17.6', + version='0.17.7', url='http://github.com/CitrineInformatics/citrine-python', description='Python library for the Citrine Platform', author='Citrine Informatics',