From 50167d993a7cba087e14d3a269d42241c4cb8017 Mon Sep 17 00:00:00 2001 From: Brian Cantoni Date: Tue, 2 Aug 2022 18:19:48 -0700 Subject: [PATCH 1/3] Remove extra print statement recently added for debugging --- tableaudocumentapi/field.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tableaudocumentapi/field.py b/tableaudocumentapi/field.py index 54d2446..0da6d84 100644 --- a/tableaudocumentapi/field.py +++ b/tableaudocumentapi/field.py @@ -70,7 +70,6 @@ def _initialize_from_metadata_xml(self, xmldata): self._apply_attribute(xmldata, field_name, lambda x: getattr(xmldata.find('.//{}'.format(metadata_name)), 'text', None), read_name=metadata_name) - print(metadata_name, field_name) self.apply_metadata(xmldata) @classmethod From 1ef3d9b9c118bfd598abdf058b848a8843028012 Mon Sep 17 00:00:00 2001 From: Brian Cantoni Date: Tue, 2 Aug 2022 18:26:45 -0700 Subject: [PATCH 2/3] Fix style --- samples/preserve-namespaces/preserve-namespaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/preserve-namespaces/preserve-namespaces.py b/samples/preserve-namespaces/preserve-namespaces.py index 13642a1..0ecd424 100644 --- a/samples/preserve-namespaces/preserve-namespaces.py +++ b/samples/preserve-namespaces/preserve-namespaces.py @@ -16,7 +16,7 @@ def assertContainsUserNamespace(filename): lineCount += 1 found = doc_beginning_excerpt.rfind("xmlns:user=") print(doc_beginning_excerpt[found:found+10]) - assert(found >= 0) + assert (found >= 0) ############################################################ From b4531e9842260be8a0856027db68f6e8ec8b0040 Mon Sep 17 00:00:00 2001 From: Brian Cantoni Date: Fri, 4 Nov 2022 09:27:50 -0700 Subject: [PATCH 3/3] Prep v0.11 release --- CHANGELOG.md | 4 +++- setup.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e927c32..1a18c16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 011 (November 2022) +* Remove extraneous debug print statements ## 010 (June 2022) * Add service/schema attributes @@ -6,7 +8,7 @@ * Add attribute for hidden field ## 09 (December 2021) -* Pypi upgraded to Python3 +* PyPI upgraded to Python3 ## 08 (October 2021) * See dashboards in a workbook diff --git a/setup.py b/setup.py index 4264448..90668ae 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='tableaudocumentapi', - version='0.10', + version='0.11', author='Tableau', author_email='github@tableau.com', url='https://github.com/tableau/document-api-python',