digitalkin 0.2.20__tar.gz → 0.2.22__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.
- {digitalkin-0.2.20 → digitalkin-0.2.22}/PKG-INFO +1 -1
- {digitalkin-0.2.20 → digitalkin-0.2.22}/pyproject.toml +1 -3
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/__version__.py +1 -1
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/module_servicer.py +4 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/filesystem/default_filesystem.py +2 -1
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/filesystem/filesystem_strategy.py +5 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/filesystem/grpc_filesystem.py +37 -25
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin.egg-info/PKG-INFO +1 -1
- {digitalkin-0.2.20 → digitalkin-0.2.22}/LICENSE +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/README.md +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/mock/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/mock/mock_pb2.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/mock/mock_pb2_grpc.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/server_async_insecure.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/server_async_secure.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/server_sync_insecure.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/base_server/server_sync_secure.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/modules/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/modules/cpu_intensive_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/modules/minimal_llm_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/modules/text_transform_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/services/filesystem_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/examples/services/storage_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/setup.cfg +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/_base_server.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/module_server.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/registry_server.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/registry_servicer.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/utils/exceptions.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/utils/factory.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/utils/grpc_client_wrapper.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/utils/models.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/utils/types.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/logger.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/module/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/module/module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/module/module_context.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/module/module_types.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/services/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/services/cost.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/models/services/storage.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/_base_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/archetype_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/base_job_manager.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/job_manager_models.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/single_job_manager.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/taskiq_broker.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/taskiq_job_manager.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/tool_module.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/trigger_handler.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/py.typed +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/agent/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/agent/agent_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/agent/default_agent.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/base_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/cost/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/cost/cost_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/cost/default_cost.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/cost/grpc_cost.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/filesystem/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/identity/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/identity/default_identity.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/identity/identity_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/registry/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/registry/default_registry.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/registry/registry_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/services_config.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/services_models.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/setup/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/setup/default_setup.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/setup/grpc_setup.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/setup/setup_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/snapshot/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/snapshot/default_snapshot.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/snapshot/snapshot_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/storage/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/storage/default_storage.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/storage/grpc_storage.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/storage/storage_strategy.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/utils/__init__.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/utils/arg_parser.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/utils/development_mode_action.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/utils/llm_ready_schema.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/utils/package_discover.py +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin.egg-info/SOURCES.txt +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin.egg-info/dependency_links.txt +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin.egg-info/requires.txt +0 -0
- {digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin.egg-info/top_level.txt +0 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
keywords = [ "digitalkin", "kin", "agent", "gprc", "sdk" ]
|
|
14
14
|
# Version of the package automatically updated by bump2version (that is why it is separated)
|
|
15
|
-
version = "0.2.
|
|
15
|
+
version = "0.2.22"
|
|
16
16
|
|
|
17
17
|
classifiers = [
|
|
18
18
|
"Development Status :: 3 - Alpha",
|
|
@@ -115,8 +115,6 @@
|
|
|
115
115
|
"tool_module.py",
|
|
116
116
|
"trigger_module.py",
|
|
117
117
|
"generate_certificates.py",
|
|
118
|
-
# "test_*.py",
|
|
119
|
-
# "tests/*",
|
|
120
118
|
"examples/*",
|
|
121
119
|
]
|
|
122
120
|
preview = true
|
|
@@ -100,6 +100,9 @@ class ModuleServicer(module_service_pb2_grpc.ModuleServiceServicer, ArgParser):
|
|
|
100
100
|
ServicerError: if the setup data is not returned or job creation fails.
|
|
101
101
|
"""
|
|
102
102
|
logger.info("ConfigSetupVersion called for module: '%s'", self.module_class.__name__)
|
|
103
|
+
logger.info(
|
|
104
|
+
"Context : %s, setup_version: %s, mission_id: %s", context, request.setup_version, request.mission_id
|
|
105
|
+
)
|
|
103
106
|
# Process the module input
|
|
104
107
|
# TODO: Secret should be used here as well
|
|
105
108
|
setup_version = request.setup_version
|
|
@@ -157,6 +160,7 @@ class ModuleServicer(module_service_pb2_grpc.ModuleServiceServicer, ArgParser):
|
|
|
157
160
|
ServicerError: the necessary query didn't work.
|
|
158
161
|
"""
|
|
159
162
|
logger.info("StartModule called for module: '%s'", self.module_class.__name__)
|
|
163
|
+
logger.info("Context : %s, setup_id: %s, mission_id: %s", context, request.setup_id, request.mission_id)
|
|
160
164
|
# Process the module input
|
|
161
165
|
# TODO: Check failure of input data format
|
|
162
166
|
input_data = self.module_class.create_input_model(dict(request.input.items()))
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/filesystem/default_filesystem.py
RENAMED
|
@@ -84,7 +84,6 @@ class DefaultFilesystem(FilesystemStrategy):
|
|
|
84
84
|
if (not filters.names or f.name in filters.names)
|
|
85
85
|
and (not filters.file_ids or f.id in filters.file_ids)
|
|
86
86
|
and (not filters.file_types or f.file_type in filters.file_types)
|
|
87
|
-
and f.context == self.mission_id
|
|
88
87
|
and (not filters.status or f.status == filters.status)
|
|
89
88
|
and (not filters.content_type_prefix or f.content_type.startswith(filters.content_type_prefix))
|
|
90
89
|
and (not filters.min_size_bytes or f.size_bytes >= filters.min_size_bytes)
|
|
@@ -215,6 +214,7 @@ class DefaultFilesystem(FilesystemStrategy):
|
|
|
215
214
|
def get_file(
|
|
216
215
|
self,
|
|
217
216
|
file_id: str,
|
|
217
|
+
context: Literal["mission", "setup"] = "mission", # noqa: ARG002
|
|
218
218
|
*,
|
|
219
219
|
include_content: bool = False,
|
|
220
220
|
) -> FilesystemRecord:
|
|
@@ -226,6 +226,7 @@ class DefaultFilesystem(FilesystemStrategy):
|
|
|
226
226
|
|
|
227
227
|
Args:
|
|
228
228
|
file_id: The ID of the file to be retrieved
|
|
229
|
+
context: The context of the files (mission or setup)
|
|
229
230
|
include_content: Whether to include file content in response
|
|
230
231
|
|
|
231
232
|
Returns:
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/filesystem/filesystem_strategy.py
RENAMED
|
@@ -33,6 +33,9 @@ class FilesystemRecord(BaseModel):
|
|
|
33
33
|
class FileFilter(BaseModel):
|
|
34
34
|
"""Filter criteria for querying files."""
|
|
35
35
|
|
|
36
|
+
context: Literal["mission", "setup"] = Field(
|
|
37
|
+
default="mission", description="The context of the files (mission or setup)"
|
|
38
|
+
)
|
|
36
39
|
names: list[str] | None = Field(default=None, description="Filter by file names (exact matches)")
|
|
37
40
|
file_ids: list[str] | None = Field(default=None, description="Filter by file IDs")
|
|
38
41
|
file_types: (
|
|
@@ -130,6 +133,7 @@ class FilesystemStrategy(BaseStrategy, ABC):
|
|
|
130
133
|
def get_file(
|
|
131
134
|
self,
|
|
132
135
|
file_id: str,
|
|
136
|
+
context: Literal["mission", "setup"] = "mission",
|
|
133
137
|
*,
|
|
134
138
|
include_content: bool = False,
|
|
135
139
|
) -> FilesystemRecord:
|
|
@@ -141,6 +145,7 @@ class FilesystemStrategy(BaseStrategy, ABC):
|
|
|
141
145
|
|
|
142
146
|
Args:
|
|
143
147
|
file_id: The ID of the file to be retrieved
|
|
148
|
+
context: The context of the files (mission or setup)
|
|
144
149
|
include_content: Whether to include file content in response
|
|
145
150
|
|
|
146
151
|
Returns:
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/filesystem/grpc_filesystem.py
RENAMED
|
@@ -85,25 +85,8 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
85
85
|
except AttributeError:
|
|
86
86
|
return filesystem_pb2.FileStatus.FILE_STATUS_UNSPECIFIED
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
Args:
|
|
92
|
-
filters: The FileFilter to convert
|
|
93
|
-
|
|
94
|
-
Returns:
|
|
95
|
-
filesystem_pb2.FileFilter: The converted FileFilter proto message
|
|
96
|
-
"""
|
|
97
|
-
return filesystem_pb2.FileFilter(
|
|
98
|
-
context=self.setup_id,
|
|
99
|
-
**filters.model_dump(exclude={"file_types", "status"}),
|
|
100
|
-
file_types=[self._file_type_to_enum(file_type) for file_type in filters.file_types]
|
|
101
|
-
if filters.file_types
|
|
102
|
-
else None,
|
|
103
|
-
status=self._file_status_to_enum(filters.status) if filters.status else None,
|
|
104
|
-
)
|
|
105
|
-
|
|
106
|
-
def _file_proto_to_data(self, file: filesystem_pb2.File) -> FilesystemRecord:
|
|
88
|
+
@staticmethod
|
|
89
|
+
def _file_proto_to_data(file: filesystem_pb2.File) -> FilesystemRecord:
|
|
107
90
|
"""Convert a File proto message to FilesystemRecord.
|
|
108
91
|
|
|
109
92
|
Args:
|
|
@@ -114,7 +97,7 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
114
97
|
"""
|
|
115
98
|
return FilesystemRecord(
|
|
116
99
|
id=file.file_id,
|
|
117
|
-
context=
|
|
100
|
+
context=file.context,
|
|
118
101
|
name=file.name,
|
|
119
102
|
file_type=filesystem_pb2.FileType.Name(file.file_type),
|
|
120
103
|
content_type=file.content_type,
|
|
@@ -127,6 +110,23 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
127
110
|
content=file.content,
|
|
128
111
|
)
|
|
129
112
|
|
|
113
|
+
def _filter_to_proto(self, filters: FileFilter) -> filesystem_pb2.FileFilter:
|
|
114
|
+
"""Convert a FileFilter to a FileFilter proto message.
|
|
115
|
+
|
|
116
|
+
Args:
|
|
117
|
+
filters: The FileFilter to convert
|
|
118
|
+
|
|
119
|
+
Returns:
|
|
120
|
+
filesystem_pb2.FileFilter: The converted FileFilter proto message
|
|
121
|
+
"""
|
|
122
|
+
return filesystem_pb2.FileFilter(
|
|
123
|
+
**filters.model_dump(exclude={"file_types", "status"}),
|
|
124
|
+
file_types=[self._file_type_to_enum(file_type) for file_type in filters.file_types]
|
|
125
|
+
if filters.file_types
|
|
126
|
+
else None,
|
|
127
|
+
status=self._file_status_to_enum(filters.status) if filters.status else None,
|
|
128
|
+
)
|
|
129
|
+
|
|
130
130
|
def __init__(
|
|
131
131
|
self,
|
|
132
132
|
mission_id: str,
|
|
@@ -172,7 +172,7 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
172
172
|
metadata_struct.update(file.metadata)
|
|
173
173
|
upload_files.append(
|
|
174
174
|
filesystem_pb2.UploadFileData(
|
|
175
|
-
context=self.
|
|
175
|
+
context=self.mission_id,
|
|
176
176
|
name=file.name,
|
|
177
177
|
file_type=self._file_type_to_enum(file.file_type),
|
|
178
178
|
content_type=file.content_type or "application/octet-stream",
|
|
@@ -191,6 +191,7 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
191
191
|
def get_file(
|
|
192
192
|
self,
|
|
193
193
|
file_id: str,
|
|
194
|
+
context: Literal["mission", "setup"] = "mission",
|
|
194
195
|
*,
|
|
195
196
|
include_content: bool = False,
|
|
196
197
|
) -> FilesystemRecord:
|
|
@@ -198,6 +199,7 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
198
199
|
|
|
199
200
|
Args:
|
|
200
201
|
file_id: The ID of the file to be retrieved
|
|
202
|
+
context: The context of the files (mission or setup)
|
|
201
203
|
include_content: Whether to include file content in response
|
|
202
204
|
|
|
203
205
|
Returns:
|
|
@@ -206,9 +208,14 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
206
208
|
Raises:
|
|
207
209
|
FilesystemServiceError: If there is an error retrieving the file
|
|
208
210
|
"""
|
|
211
|
+
match context:
|
|
212
|
+
case "setup":
|
|
213
|
+
context_id = self.setup_id
|
|
214
|
+
case "mission":
|
|
215
|
+
context_id = self.mission_id
|
|
209
216
|
with GrpcFilesystem._handle_grpc_errors("GetFile"):
|
|
210
217
|
request = filesystem_pb2.GetFileRequest(
|
|
211
|
-
context=
|
|
218
|
+
context=context_id,
|
|
212
219
|
file_id=file_id,
|
|
213
220
|
include_content=include_content,
|
|
214
221
|
)
|
|
@@ -256,7 +263,7 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
256
263
|
"""
|
|
257
264
|
with GrpcFilesystem._handle_grpc_errors("UpdateFile"):
|
|
258
265
|
request = filesystem_pb2.UpdateFileRequest(
|
|
259
|
-
context=self.
|
|
266
|
+
context=self.mission_id,
|
|
260
267
|
file_id=file_id,
|
|
261
268
|
content=content,
|
|
262
269
|
file_type=self._file_type_to_enum(file_type) if file_type else None,
|
|
@@ -290,7 +297,7 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
290
297
|
"""
|
|
291
298
|
with GrpcFilesystem._handle_grpc_errors("DeleteFiles"):
|
|
292
299
|
request = filesystem_pb2.DeleteFilesRequest(
|
|
293
|
-
context=self.
|
|
300
|
+
context=self.mission_id,
|
|
294
301
|
filters=self._filter_to_proto(filters),
|
|
295
302
|
permanent=permanent,
|
|
296
303
|
force=force,
|
|
@@ -320,9 +327,14 @@ class GrpcFilesystem(FilesystemStrategy, GrpcClientWrapper):
|
|
|
320
327
|
Returns:
|
|
321
328
|
tuple[list[FilesystemRecord], int]: List of files and total count
|
|
322
329
|
"""
|
|
330
|
+
match filters.context:
|
|
331
|
+
case "setup":
|
|
332
|
+
context_id = self.setup_id
|
|
333
|
+
case "mission":
|
|
334
|
+
context_id = self.mission_id
|
|
323
335
|
with GrpcFilesystem._handle_grpc_errors("GetFiles"):
|
|
324
336
|
request = filesystem_pb2.GetFilesRequest(
|
|
325
|
-
context=
|
|
337
|
+
context=context_id,
|
|
326
338
|
filters=self._filter_to_proto(filters),
|
|
327
339
|
include_content=include_content,
|
|
328
340
|
list_size=list_size,
|
|
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
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/grpc_servers/utils/grpc_client_wrapper.py
RENAMED
|
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
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/base_job_manager.py
RENAMED
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/job_manager_models.py
RENAMED
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/single_job_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/modules/job_manager/taskiq_job_manager.py
RENAMED
|
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
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/identity/default_identity.py
RENAMED
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/identity/identity_strategy.py
RENAMED
|
File without changes
|
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/registry/default_registry.py
RENAMED
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/registry/registry_strategy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/snapshot/default_snapshot.py
RENAMED
|
File without changes
|
{digitalkin-0.2.20 → digitalkin-0.2.22}/src/digitalkin/services/snapshot/snapshot_strategy.py
RENAMED
|
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
|