indexify 0.2.5__tar.gz → 0.2.6__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.
- {indexify-0.2.5 → indexify-0.2.6}/PKG-INFO +1 -1
- {indexify-0.2.5 → indexify-0.2.6}/indexify/cli.py +8 -1
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/graph.py +1 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/image.py +1 -1
- {indexify-0.2.5 → indexify-0.2.6}/pyproject.toml +1 -1
- {indexify-0.2.5 → indexify-0.2.6}/LICENSE.txt +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/README.md +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/__init__.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/data_loaders/__init__.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/data_loaders/local_directory_loader.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/data_loaders/url_loader.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/error.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/agent.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/api_objects.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/downloader.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/executor_tasks.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/function_worker.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/indexify_executor.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/runtime_probes.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/task_reporter.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/executor/task_store.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/data_objects.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/graph_definition.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/graph_validation.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/indexify_functions.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/local_cache.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/functions_sdk/object_serializer.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/http_client.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/remote_graph.py +0 -0
- {indexify-0.2.5 → indexify-0.2.6}/indexify/settings.py +0 -0
@@ -122,6 +122,11 @@ def server_dev_mode():
|
|
122
122
|
def build_image(workflow_file_path: str, func_names: List[str]):
|
123
123
|
globals_dict = {}
|
124
124
|
|
125
|
+
# Add the folder in the workflow file path to the current Python path
|
126
|
+
folder_path = os.path.dirname(workflow_file_path)
|
127
|
+
if folder_path not in sys.path:
|
128
|
+
sys.path.append(folder_path)
|
129
|
+
|
125
130
|
try:
|
126
131
|
exec(open(workflow_file_path).read(), globals_dict)
|
127
132
|
except FileNotFoundError as e:
|
@@ -240,8 +245,10 @@ WORKDIR /app
|
|
240
245
|
console.print(f"{docker_file}", style="magenta")
|
241
246
|
|
242
247
|
client = docker.from_env()
|
248
|
+
image_name =f"{image._image_name}:{image._tag}"
|
243
249
|
client.images.build(
|
244
250
|
fileobj=io.BytesIO(docker_file.encode()),
|
245
|
-
tag=
|
251
|
+
tag=image_name,
|
246
252
|
rm=True,
|
247
253
|
)
|
254
|
+
print(f"built image: {image_name}")
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|