integrate-ai 9.16.1__tar.gz → 9.17.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of integrate-ai might be problematic. Click here for more details.
- {integrate-ai-9.16.1/integrate_ai.egg-info → integrate_ai-9.17.0}/PKG-INFO +2 -2
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/sdk.py +2 -2
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/utils/rest_client.py +2 -2
- {integrate-ai-9.16.1 → integrate_ai-9.17.0/integrate_ai.egg-info}/PKG-INFO +1 -1
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/setup.py +2 -2
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/MANIFEST.in +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/backend_shim.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/__init__.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/cli.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/client.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/main.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/onprem_node.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/server.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/utils/__init__.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/utils/docker_client.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/utils/error_handling.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/utils/logger.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/utils/path_utils.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai/utils/typer_utils.py +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai.egg-info/SOURCES.txt +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai.egg-info/dependency_links.txt +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai.egg-info/entry_points.txt +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai.egg-info/namespace_packages.txt +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai.egg-info/requires.txt +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/integrate_ai.egg-info/top_level.txt +0 -0
- {integrate-ai-9.16.1 → integrate_ai-9.17.0}/setup.cfg +0 -0
|
@@ -26,7 +26,7 @@ def install(
|
|
|
26
26
|
version: str = typer.Option("", "--version", "-v", help="The version of the sdk to download."),
|
|
27
27
|
):
|
|
28
28
|
"""
|
|
29
|
-
Install the integrate_ai sdk package. Defaults to
|
|
29
|
+
Install the integrate_ai sdk package. Defaults to pinned version
|
|
30
30
|
Installing a new sdk will override the existing one.
|
|
31
31
|
Will automatically read from the IAI_TOKEN environment variable if set.
|
|
32
32
|
"""
|
|
@@ -37,7 +37,7 @@ def install(
|
|
|
37
37
|
|
|
38
38
|
# pip will output the version number and give an error if the version is not found
|
|
39
39
|
if version == "":
|
|
40
|
-
rprint(f"Trying to install
|
|
40
|
+
rprint(f"Trying to install the pinned version of {package}.")
|
|
41
41
|
else:
|
|
42
42
|
rprint(f"Trying to install {package}=={version}.")
|
|
43
43
|
subprocess.run(pip_install_command, check=True, shell=True)
|
|
@@ -8,9 +8,9 @@ This contains a `RestClient` class that will be used to interface with the IAI R
|
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
10
|
import jwt
|
|
11
|
+
import requests
|
|
11
12
|
from typing import Any, Dict
|
|
12
13
|
from integrate_ai.utils.error_handling import check_for_IntegrateAIException
|
|
13
|
-
import requests
|
|
14
14
|
import os
|
|
15
15
|
|
|
16
16
|
|
|
@@ -116,7 +116,7 @@ class RestClient:
|
|
|
116
116
|
def get_pip_install_command(self, version="", package="") -> Dict[str, str]:
|
|
117
117
|
"""Get pip install command to install sdk.
|
|
118
118
|
Args:
|
|
119
|
-
version (str): Version of sdk to install
|
|
119
|
+
version (str): Version of sdk to install
|
|
120
120
|
package (str): Package name to install.
|
|
121
121
|
Returns:
|
|
122
122
|
A Dict of the form
|
|
@@ -60,7 +60,7 @@ iai client train --token <IAI_TOKEN> --session <SESSION_ID> --train_path <PATH_T
|
|
|
60
60
|
```
|
|
61
61
|
""",
|
|
62
62
|
'long_description_content_type': 'text/markdown',
|
|
63
|
-
'name': '
|
|
63
|
+
'name': 'integrate_ai',
|
|
64
64
|
'namespace_packages': (
|
|
65
65
|
),
|
|
66
66
|
'package_data': {
|
|
@@ -70,5 +70,5 @@ iai client train --token <IAI_TOKEN> --session <SESSION_ID> --train_path <PATH_T
|
|
|
70
70
|
'integrate_ai.utils',
|
|
71
71
|
),
|
|
72
72
|
'python_requires': '>=3.7.5',
|
|
73
|
-
'version': '9.
|
|
73
|
+
'version': '9.17.0',
|
|
74
74
|
})
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|