Skip to content

Commit

Permalink
Cleanup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Dec 27, 2024
1 parent 43de4e2 commit 22da7e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion neon_utils/hana_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def _init_client(backend_address: str):
"""
global _client_config
global _headers
# TODO: Config on disk could be invalid here!
# TODO: Config on disk could be invalid here; consider validating tokens now
# instead of waiting for exception handling with a failed request
if not _client_config:
client_config_path = _get_client_config_path(backend_address)
if isfile(client_config_path):
Expand Down
2 changes: 1 addition & 1 deletion tests/hana_util_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

from os import remove
from os.path import join, dirname, isfile
from shutil import move, copy
from shutil import copy
from time import time
from unittest.mock import patch

Expand Down

0 comments on commit 22da7e9

Please sign in to comment.