dtlpy 1.114.15__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 CHANGED
@@ -1 +1 @@
1
- version = '1.114.15'
1
+ version = '1.114.17'
@@ -50,7 +50,7 @@ class ModelConfigurations(MutableMapping):
50
50
 
51
51
  def _update_model_entity(self):
52
52
  if self._base_model_adapter is not None and self._base_model_adapter.model_entity is not None:
53
- self._base_model_adapter.model_entity.update()
53
+ self._base_model_adapter.model_entity.update(reload_services=False)
54
54
 
55
55
  def __ior__(self, other):
56
56
  self.update(other)
@@ -793,7 +793,7 @@ class BaseModelAdapter(utilities.BaseServiceRunner):
793
793
  if context is not None:
794
794
  if 'system' not in model.metadata:
795
795
  model.metadata['system'] = dict()
796
- model.update()
796
+ model.update(reload_services=False)
797
797
 
798
798
  ##########################
799
799
  # load model and weights #
@@ -828,7 +828,7 @@ class BaseModelAdapter(utilities.BaseServiceRunner):
828
828
 
829
829
  self.save_to_model(local_path=output_path, replace=True)
830
830
  model.status = 'trained'
831
- model.update()
831
+ model.update(reload_services=False)
832
832
  ###########
833
833
  # cleanup #
834
834
  ###########
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dtlpy
3
- Version: 1.114.15
3
+ Version: 1.114.17
4
4
  Summary: SDK and CLI for Dataloop platform
5
5
  Home-page: https://github.com/dataloop-ai/dtlpy
6
6
  Author: Dataloop Team
@@ -1,5 +1,5 @@
1
1
  dtlpy/__init__.py,sha256=Kpyd5B6_bVW7O2l5EPnFxXJzHiobRvFbIUDeYT7kvh0,21054
2
- dtlpy/__version__.py,sha256=j15YWvxbbVdPICCYjK3E4ayizq4E04ORwbeIgr4Bodg,22
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
@@ -150,7 +150,7 @@ dtlpy/miscellaneous/list_print.py,sha256=oUSBNVaroekOIRaXjWeTVQxSifMhsmPPxzZbSPE
150
150
  dtlpy/miscellaneous/zipping.py,sha256=-UeVNFTzF7iLo87QpISBLL1sZHnl0p5zrNmzharobd4,5513
151
151
  dtlpy/ml/__init__.py,sha256=coDyt1yOZrmc3FIFPnQ_GGUVtcr2U1OqBAcP2u8p63U,819
152
152
  dtlpy/ml/base_feature_extractor_adapter.py,sha256=V6dE9O3JRp2f6Xw0GO09mwdJFdW88Fu6_MsPXQ9m58g,1205
153
- dtlpy/ml/base_model_adapter.py,sha256=sCRltoDyYjBW4jkQn88uq9HzuFUys_0yJ58xYo4rnAA,58212
153
+ dtlpy/ml/base_model_adapter.py,sha256=23_kaSbu0knX46ButQAOEPn8pgj5FcBpFxoD8JdKLlI,58275
154
154
  dtlpy/ml/metrics.py,sha256=CEavVQ9FoF_iHHaQCs2tPOdA2QvRvVSY11by4wIpeyA,20498
155
155
  dtlpy/ml/predictions_utils.py,sha256=eNUaReXLDCex1y1TAxuFfQV_sCGk4iT77UJFMHMw6zI,12758
156
156
  dtlpy/ml/summary_writer.py,sha256=JuFlqJsUqTBfLlRI1HtffiJA5tcCqDbarAKuoRPnZew,2841
@@ -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=OwlKB9lwGnz0-9M2MWrjqTpPRQW22eZ_Sa1D_O-SjYc,19863
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.15.data/scripts/dlp,sha256=R99eKZP_pZ7egsYawtuw2lRL_6b0P7spq7JpGAY3H7Y,11
231
- dtlpy-1.114.15.data/scripts/dlp.bat,sha256=2V2sDEhvV2Tm7nMoyFdIxo5ODq-msgt9LJesLoPVmX0,38
232
- dtlpy-1.114.15.data/scripts/dlp.py,sha256=sN0lxOiBmYOVijl1vCm3wkyr2TGas75AGaHV7pxt6oo,4521
233
- dtlpy-1.114.15.dist-info/licenses/LICENSE,sha256=WtjCEwlcVzkh1ziO35P2qfVEkLjr87Flro7xlHz3CEY,11556
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.15.dist-info/METADATA,sha256=ubFkFK2qNfCd5F7H4ZWbC_mCr_orKvQeYjEwUW9FVDM,5823
237
- dtlpy-1.114.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
238
- dtlpy-1.114.15.dist-info/entry_points.txt,sha256=C4PyKthCs_no88HU39eioO68oei64STYXC2ooGZTc4Y,43
239
- dtlpy-1.114.15.dist-info/top_level.txt,sha256=ZWuLmQGUOtWAdgTf4Fbx884w1o0vBYq9dEc1zLv9Mig,12
240
- dtlpy-1.114.15.dist-info/RECORD,,
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