diff --git a/dist/parquet-to-hyper-1.1.2.tar.gz b/dist/parquet-to-hyper-1.1.2.tar.gz new file mode 100644 index 0000000..12a6786 Binary files /dev/null and b/dist/parquet-to-hyper-1.1.2.tar.gz differ diff --git a/dist/parquet-to-hyper-1.1.3.tar.gz b/dist/parquet-to-hyper-1.1.3.tar.gz new file mode 100644 index 0000000..6a2ef76 Binary files /dev/null and b/dist/parquet-to-hyper-1.1.3.tar.gz differ diff --git a/dist/parquet_to_hyper-1.1.2-py3-none-any.whl b/dist/parquet_to_hyper-1.1.2-py3-none-any.whl new file mode 100644 index 0000000..3f6bcdf Binary files /dev/null and b/dist/parquet_to_hyper-1.1.2-py3-none-any.whl differ diff --git a/dist/parquet_to_hyper-1.1.3-py3-none-any.whl b/dist/parquet_to_hyper-1.1.3-py3-none-any.whl new file mode 100644 index 0000000..0c50d06 Binary files /dev/null and b/dist/parquet_to_hyper-1.1.3-py3-none-any.whl differ diff --git a/packages/tableau_server_utils.py b/packages/tableau_server_utils.py index 8af39e8..0d64c7f 100644 --- a/packages/tableau_server_utils.py +++ b/packages/tableau_server_utils.py @@ -48,17 +48,17 @@ def publish_hyper(self, project_id: str, hyper_path: str, Args: project_id (str): project id hyper_path (str): hyper file path. Eg: path/hyper.file - mode (str): publish mode. Accept ovewrite or append mode. - Defaults to ovewrite. + mode (str): publish mode. Accept overwrite or append mode. + Defaults to overwrite. """ logging.info(f'Signing into the server {self.server.baseurl}') with self.server.auth.sign_in(self.tableau_auth): - if mode == 'ovewrite': + if mode == 'overwrite': publish_mode = TSC.Server.PublishMode.Overwrite elif mode == 'append': publish_mode = TSC.Server.PublishMode.Append else: - raise ValueError(f'Error! Mode must be ovewrite or append.\ + raise ValueError(f'Error! Mode must be overwrite or append.\ Received {mode}') datasource = TSC.DatasourceItem(project_id=project_id) logging.info('Publishing Hyper file into the server!') diff --git a/pyproject.toml b/pyproject.toml index eb9060c..854eb21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "parquet-to-hyper" -version = "1.1.1" +version = "1.1.3" authors = [{name="Guilherme Noronha", email="guilhermenoronha2001@gmail.com"}] license = { file = "LICENSE" } description = "Create and publish tableau hyper files from parquet files." @@ -33,7 +33,7 @@ dev = ["pip-tools", "pytest", "bumpver"] pythonpath = [".", "packages"] [tool.bumpver] -current_version = "1.1.1" +current_version = "1.1.3" version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump version {old_version} -> {new_version}" tag_message = "{new_version}" @@ -54,6 +54,3 @@ push = true "{pep440_version}", ] -[tool.setuptools] -py-modules = [] -