dtlpy 1.114.16__py3-none-any.whl → 1.114.17__py3-none-any.whl
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.
- dtlpy/__version__.py +1 -1
- dtlpy/repositories/drivers.py +0 -8
- {dtlpy-1.114.16.dist-info → dtlpy-1.114.17.dist-info}/METADATA +1 -1
- {dtlpy-1.114.16.dist-info → dtlpy-1.114.17.dist-info}/RECORD +11 -11
- {dtlpy-1.114.16.data → dtlpy-1.114.17.data}/scripts/dlp +0 -0
- {dtlpy-1.114.16.data → dtlpy-1.114.17.data}/scripts/dlp.bat +0 -0
- {dtlpy-1.114.16.data → dtlpy-1.114.17.data}/scripts/dlp.py +0 -0
- {dtlpy-1.114.16.dist-info → dtlpy-1.114.17.dist-info}/WHEEL +0 -0
- {dtlpy-1.114.16.dist-info → dtlpy-1.114.17.dist-info}/entry_points.txt +0 -0
- {dtlpy-1.114.16.dist-info → dtlpy-1.114.17.dist-info}/licenses/LICENSE +0 -0
- {dtlpy-1.114.16.dist-info → dtlpy-1.114.17.dist-info}/top_level.txt +0 -0
dtlpy/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = '1.114.
|
|
1
|
+
version = '1.114.17'
|
dtlpy/repositories/drivers.py
CHANGED
|
@@ -259,7 +259,6 @@ class Drivers:
|
|
|
259
259
|
def create_powerscale_nfs(
|
|
260
260
|
self,
|
|
261
261
|
name: str,
|
|
262
|
-
integration: entities.Integration,
|
|
263
262
|
elastic_index: str,
|
|
264
263
|
elastic_index_path: str,
|
|
265
264
|
project_id: str = None,
|
|
@@ -271,14 +270,12 @@ class Drivers:
|
|
|
271
270
|
**Prerequisites**: You must be in the role of an *owner* or *developer*.
|
|
272
271
|
|
|
273
272
|
:param str name: The driver name
|
|
274
|
-
:param Integration integration: The S3 integration to use
|
|
275
273
|
:param str elastic_index: The elastic index for PowerScale NFS driver
|
|
276
274
|
:param str project_id: Optional project ID. If not provided, uses the current project
|
|
277
275
|
:param bool allow_external_delete: True to allow deleting files from external storage when files are deleted in your Dataloop storage
|
|
278
276
|
:param str elastic_index_path: The elastic index path for PowerScale NFS driver
|
|
279
277
|
:return: The created PowerScale NFS driver object
|
|
280
278
|
:rtype: dtlpy.entities.driver.Driver
|
|
281
|
-
:raises ValueError: If the integration type is not S3
|
|
282
279
|
:raises PlatformException: If the driver creation fails
|
|
283
280
|
|
|
284
281
|
**Example**:
|
|
@@ -287,17 +284,12 @@ class Drivers:
|
|
|
287
284
|
|
|
288
285
|
project.drivers.create_powerscale_nfs(
|
|
289
286
|
name='powerscale_driver',
|
|
290
|
-
integration=integration,
|
|
291
287
|
elastic_index='my_index',
|
|
292
288
|
elastic_index_path='my_index_path',
|
|
293
289
|
)
|
|
294
290
|
"""
|
|
295
|
-
if not integration.type == entities.IntegrationType.S3:
|
|
296
|
-
raise ValueError("Integration type must be S3 for PowerScale NFS driver")
|
|
297
291
|
|
|
298
292
|
payload = {
|
|
299
|
-
"integrationId": integration.id,
|
|
300
|
-
"integrationType": integration.type,
|
|
301
293
|
"name": name,
|
|
302
294
|
"metadata": {"system": {"projectId": self.project.id if project_id is None else project_id}},
|
|
303
295
|
"type": entities.ExternalStorage.POWERSCALE_NFS,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dtlpy/__init__.py,sha256=Kpyd5B6_bVW7O2l5EPnFxXJzHiobRvFbIUDeYT7kvh0,21054
|
|
2
|
-
dtlpy/__version__.py,sha256=
|
|
2
|
+
dtlpy/__version__.py,sha256=gcXc_lfZDPnkaeitqSccSQsJ3S5zAuZvACtFIRwuZ1s,22
|
|
3
3
|
dtlpy/exceptions.py,sha256=3-QaX1marJ1oCNNnEgnvqPlhHq8mVKjufI157pzxGZU,2996
|
|
4
4
|
dtlpy/new_instance.py,sha256=6M2jZrQ6E9zfef4HOthiC9jzpQsRaLrOLu0IKw0yg0I,10234
|
|
5
5
|
dtlpy/assets/__init__.py,sha256=AzcOoxymAF5O2ujLGtBIXWcA_AZx20Z0BzKLQsQWw94,1002
|
|
@@ -170,7 +170,7 @@ dtlpy/repositories/computes.py,sha256=2xwvK5LvFZoMqilpjgsK_9lchPgcOCLo1nWE44Uxbk
|
|
|
170
170
|
dtlpy/repositories/datasets.py,sha256=H-j3rLPiGg7bIiV9rGHV4UHlUMlqkaqOYlrADJ_Bo3w,60649
|
|
171
171
|
dtlpy/repositories/downloader.py,sha256=XauB3_KifBcf9ApHgdso8CF-pV7KvZeR9iHHV7V4w00,46740
|
|
172
172
|
dtlpy/repositories/dpks.py,sha256=CY4Ltf_Oh0Bs7vo-5zndDLSvVneXQsrM_OhPdGwngGY,18941
|
|
173
|
-
dtlpy/repositories/drivers.py,sha256=
|
|
173
|
+
dtlpy/repositories/drivers.py,sha256=dI1xU3eQjEMvdb0w4IlmCPLiERaf_yVqRGpEt6Fw48Q,19399
|
|
174
174
|
dtlpy/repositories/executions.py,sha256=O4nkq0FFhNOA7uAdqXRC52dcwhZxYMThaQfqqZCQVLc,33415
|
|
175
175
|
dtlpy/repositories/feature_sets.py,sha256=UiHMceYolJJUDUEAV0z_APzCmdxCMQ3iy6RBepNfSXc,9892
|
|
176
176
|
dtlpy/repositories/features.py,sha256=JCnzf90AHqsGA5uSe4j-iOXY7YazGFB13lbaqhuRf0M,10161
|
|
@@ -227,14 +227,14 @@ dtlpy/utilities/reports/report.py,sha256=zer2AqDmmuuu_A31TjHI9yS4RnjAlIeQZ5xWzOM
|
|
|
227
227
|
dtlpy/utilities/videos/__init__.py,sha256=erjgtnnSJYk3k9j4PGzJwu3Ohv7H7DMnKySvJUQoaQs,751
|
|
228
228
|
dtlpy/utilities/videos/video_player.py,sha256=KJiMcrGo17qwaSnOF-SsccAR8BVChC_HMgTV6zW1bJ8,24670
|
|
229
229
|
dtlpy/utilities/videos/videos.py,sha256=PjPx_2hwAxctoz96XBd407ds8JZpzur4Z54rtJlVO-8,22345
|
|
230
|
-
dtlpy-1.114.
|
|
231
|
-
dtlpy-1.114.
|
|
232
|
-
dtlpy-1.114.
|
|
233
|
-
dtlpy-1.114.
|
|
230
|
+
dtlpy-1.114.17.data/scripts/dlp,sha256=R99eKZP_pZ7egsYawtuw2lRL_6b0P7spq7JpGAY3H7Y,11
|
|
231
|
+
dtlpy-1.114.17.data/scripts/dlp.bat,sha256=2V2sDEhvV2Tm7nMoyFdIxo5ODq-msgt9LJesLoPVmX0,38
|
|
232
|
+
dtlpy-1.114.17.data/scripts/dlp.py,sha256=sN0lxOiBmYOVijl1vCm3wkyr2TGas75AGaHV7pxt6oo,4521
|
|
233
|
+
dtlpy-1.114.17.dist-info/licenses/LICENSE,sha256=WtjCEwlcVzkh1ziO35P2qfVEkLjr87Flro7xlHz3CEY,11556
|
|
234
234
|
tests/features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
235
235
|
tests/features/environment.py,sha256=FLJTz1dYMfeWauwRHED_weESoOKc_ZfcgvGiWoS2lYA,19484
|
|
236
|
-
dtlpy-1.114.
|
|
237
|
-
dtlpy-1.114.
|
|
238
|
-
dtlpy-1.114.
|
|
239
|
-
dtlpy-1.114.
|
|
240
|
-
dtlpy-1.114.
|
|
236
|
+
dtlpy-1.114.17.dist-info/METADATA,sha256=swwsC6oynjG1l3tHvgvss4qsQ8agx6nCSyQz54izgOo,5823
|
|
237
|
+
dtlpy-1.114.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
238
|
+
dtlpy-1.114.17.dist-info/entry_points.txt,sha256=C4PyKthCs_no88HU39eioO68oei64STYXC2ooGZTc4Y,43
|
|
239
|
+
dtlpy-1.114.17.dist-info/top_level.txt,sha256=ZWuLmQGUOtWAdgTf4Fbx884w1o0vBYq9dEc1zLv9Mig,12
|
|
240
|
+
dtlpy-1.114.17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|