Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: tuneinsight
Version: 1.1.2
Version: 1.1.3
Summary: Official Python SDK for the Tune Insight API. The current version is compatible with the same version of the API.
License: Apache-2.0
Author: Tune Insight SA
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tuneinsight"
version = "1.1.2" # Ignored.
version = "1.1.3" # Ignored.
description = "Official Python SDK for the Tune Insight API. The current version is compatible with the same version of the API."
authors = ["Tune Insight SA"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/tuneinsight/api/api-checksum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b023866fb4734796dcf385bd51e14abd8711a989ad73876a1fee8b49e2f3c775
e36e6c50fbaa6cc741561a596e346284fb9a161b523f0bdfacc4013a389e0d62
1 change: 1 addition & 0 deletions src/tuneinsight/api/sdk/models/build_catalog_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class BuildCatalogAction(str, Enum):
STOP = "stop"
PAUSE = "pause"
RESUME = "resume"
RESET = "reset"

def __str__(self) -> str:
return str(self.value)
8 changes: 4 additions & 4 deletions src/tuneinsight/api/sdk/models/ontology_search_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class OntologySearchResult:
description (Union[Unset, str]):
level (Union[Unset, float]):
name (Union[Unset, str]):
occurrence (Union[Unset, float]):
occurrence_network (Union[Unset, float]):
occurrence (Union[Unset, None, float]):
occurrence_network (Union[Unset, None, float]):
ontology (Union[Unset, str]):
parents (Union[Unset, str]):
uri (Union[Unset, str]):
Expand All @@ -32,8 +32,8 @@ class OntologySearchResult:
description: Union[Unset, str] = UNSET
level: Union[Unset, float] = UNSET
name: Union[Unset, str] = UNSET
occurrence: Union[Unset, float] = UNSET
occurrence_network: Union[Unset, float] = UNSET
occurrence: Union[Unset, None, float] = UNSET
occurrence_network: Union[Unset, None, float] = UNSET
ontology: Union[Unset, str] = UNSET
parents: Union[Unset, str] = UNSET
uri: Union[Unset, str] = UNSET
Expand Down
4 changes: 2 additions & 2 deletions src/tuneinsight/computations/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,9 +671,9 @@ def __init__(
elif is_unset(self.model.dp_epsilon):
warnings.warn(
warn_message
% "the parameter dp_epsilon was not set. Using default value 0.1."
% "the parameter dp_epsilon was not set. Using default value 1."
)
self.model.dp_epsilon = 0.1
self.model.dp_epsilon = 1
else:
epsilon = float(
self.model.dp_epsilon
Expand Down
Binary file modified src/tuneinsight/cryptolib/build/cryptolib-darwin_arm64.so
Binary file not shown.
Binary file modified src/tuneinsight/cryptolib/build/cryptolib-darwin_x86_64.so
Binary file not shown.
2 changes: 2 additions & 0 deletions src/tuneinsight/cryptolib/cryptolib.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def __getattr__(self, _):
# Find the shared library for the compiled Go Cryptolib.
cwd = Path(__file__).absolute().parent
arch = platform.machine()
if arch == "aarch64":
arch = "arm64" # Handle special case for Linux in docker.
os = platform.system().lower()
ext = "dll" if os == "windows" else "so"
cryptolib_path = cwd / "build" / f"cryptolib-{os}_{arch}.{ext}"
Expand Down