From 574fdc31805d2532633bbb536711aeec55acad09 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Wed, 31 Jul 2024 20:13:56 +0200 Subject: [PATCH] Hotfix default params for Pandas upload --- lib/python/dbrepo/RestClient.py | 2 +- lib/python/pyproject.toml | 2 +- lib/python/setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/python/dbrepo/RestClient.py b/lib/python/dbrepo/RestClient.py index 85c55613ef..6be85146a9 100644 --- a/lib/python/dbrepo/RestClient.py +++ b/lib/python/dbrepo/RestClient.py @@ -1103,7 +1103,7 @@ class RestClient: f'201 (CREATED): {response.text}') def import_table_data(self, database_id: int, table_id: int, file_name_or_data_frame: str | DataFrame, - separator: str = None, quote: str = None, skip_lines: int = 0, + separator: str = ",", quote: str = "\"", skip_lines: int = 0, false_encoding: str = None, true_encoding: str = None, null_encoding: str = None, line_encoding: str = "\n") -> None: """ diff --git a/lib/python/pyproject.toml b/lib/python/pyproject.toml index 99d20acc30..8c89061ce8 100644 --- a/lib/python/pyproject.toml +++ b/lib/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "dbrepo" -version = "1.4.5" +version = "1.4.6" description = "DBRepo Python Library" keywords = [ "DBRepo", diff --git a/lib/python/setup.py b/lib/python/setup.py index 8785f71036..34c44d115b 100644 --- a/lib/python/setup.py +++ b/lib/python/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup(name="dbrepo", - version="1.4.5", + version="1.4.6", description="A library for communicating with DBRepo", url="https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.4.5/", author="Martin Weise", -- GitLab