Skip to content

Commit

Permalink
Change return type back to string to preserve backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Jul 5, 2024
1 parent 0281934 commit 0bfb507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exasol_python_test_framework/exatest/clients/client_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def odbc_arguments(self, parser):
return parser

def _write_odbcini(self, log_path, server, driver, user,
password, odbc_log, fingerprint = None) -> Path:
password, odbc_log, fingerprint = None) -> str:
def cleandoc_nl(string):
return cleandoc(string) + "\n"

Expand Down Expand Up @@ -91,7 +91,7 @@ def cleandoc_nl(string):
LOG_LEVELS = {LOG_LEVELS[odbc_log]}
"""
))
return path
return str(path)

def prepare_odbc_init(self, log_path, server, driver, user, password, odbc_log, fingerprint = None):
path = self._write_odbcini(log_path, server, driver, user, password, odbc_log, fingerprint)
Expand Down

0 comments on commit 0bfb507

Please sign in to comment.