Skip to content

Commit

Permalink
Updated comment in bucketfs_operations.py
Browse files Browse the repository at this point in the history
Fixed error in test_json_udf_query_handler.py
  • Loading branch information
ckunki committed Oct 2, 2024
1 parent f8fc0b0 commit b0f3647
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions exasol_advanced_analytics_framework/bucketfs_operations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# This file originally was copied from
# This file originally was copied from transformers-extension
# https://github.com/exasol/transformers-extension/blob/main/exasol_transformers_extension/utils/bucketfs_operations.py
# then modified and added

# Modifications:
# - removed functions dealing with specifics of transformers-extensions
# - added functions udf_mock_connection
# - added functions for interaction with joblib

from __future__ import annotations
import tarfile
Expand All @@ -20,6 +24,7 @@
# --------------------------------------------------
# added functions


def mkjson(**kwargs):
return json.dumps(kwargs)

Expand Down Expand Up @@ -161,5 +166,3 @@ def get_local_bucketfs_path(
# """
# model_specific_path_suffix = model_specification.get_model_specific_path_suffix()
# return Path(_tmpdir_name, "pretrained", model_specific_path_suffix)


Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
import pytest

from json import JSONDecodeError
from typing import Union
Expand Down

0 comments on commit b0f3647

Please sign in to comment.