From 63d3a7fc0be219fbcb45134870c856f50f519911 Mon Sep 17 00:00:00 2001 From: Joseph Hutchins Date: Tue, 4 Feb 2020 12:56:15 -0700 Subject: [PATCH] Update tableau_parameters.py the function name didn't match what was in TableauDatasource and wasn't allowing me to save my file --- tableau_documents/tableau_parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tableau_documents/tableau_parameters.py b/tableau_documents/tableau_parameters.py index b00a844..b934366 100644 --- a/tableau_documents/tableau_parameters.py +++ b/tableau_documents/tableau_parameters.py @@ -262,7 +262,7 @@ def __init__(self, datasource_xml: Optional[ET.Element] = None, logger_obj: Opti p = TableauParameter(parameter_xml=column, logger_obj=self.logger) self._parameters[alias] = p - def get_datasource_xml(self) -> str: + def get_xml_string(self) -> str: self.start_log_block() xmlstring = ET.tostring(self.ds_xml) self.end_log_block()