code-loader 1.0.112.dev4__py3-none-any.whl → 1.0.112.dev5__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.

Potentially problematic release.


This version of code-loader might be problematic. Click here for more details.

@@ -578,6 +578,13 @@ def tensorleap_instances_masks_encoder(name: str):
578
578
  (f'tensorleap_instances_masks_encoder validation failed: '
579
579
  f'Argument sample_id should be as the same type as defined in the preprocess response '
580
580
  f'{preprocess_response.sample_id_type}. Got {type(sample_id)}.')
581
+ assert isinstance(instance_id, str), \
582
+ (f'tensorleap_instances_masks_encoder validation failed: '
583
+ f'Argument instance_id should be str. Got {type(sample_id)}.')
584
+ assert type(instance_id) == preprocess_response.sample_id_type, \
585
+ (f'tensorleap_instances_masks_encoder validation failed: '
586
+ f'Argument instance_id should be as the same type as defined in the preprocess response '
587
+ f'{preprocess_response.sample_id_type}. Got {type(instance_id)}.')
581
588
 
582
589
  def _validate_result(result):
583
590
  assert isinstance(result, ElementInstance) or (result is None), \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code-loader
3
- Version: 1.0.112.dev4
3
+ Version: 1.0.112.dev5
4
4
  Summary:
5
5
  Home-page: https://github.com/tensorleap/code-loader
6
6
  License: MIT
@@ -21,7 +21,7 @@ code_loader/experiment_api/utils.py,sha256=XZHtxge12TS4H4-8PjV3sKuhp8Ud6ojAiIzTZ
21
21
  code_loader/experiment_api/workingspace_config_utils.py,sha256=DLzXQCg4dgTV_YgaSbeTVzq-2ja_SQw4zi7LXwKL9cY,990
22
22
  code_loader/inner_leap_binder/__init__.py,sha256=koOlJyMNYzGbEsoIbXathSmQ-L38N_pEXH_HvL7beXU,99
23
23
  code_loader/inner_leap_binder/leapbinder.py,sha256=0iHVHxC2NjfH7F0vQFVGy1e0llgKEyUHUHh3DdtqL70,32602
24
- code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=Drd_vDhFJr4ejAzAEJvb859R4kh5Lnj_1bgwQ2YXUOg,42910
24
+ code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=0-K898pyrt7B9ziHV5npL6vcyydVoC-lSRnnczn6UMw,43460
25
25
  code_loader/leaploader.py,sha256=nIrUtK7n8is1MiaHS5T6io3P64brc1we5IxI4EPRqSs,29387
26
26
  code_loader/leaploaderbase.py,sha256=gvNP_MPjG3Ey8TB-efQI2s_gcGRXKlP1-qFDwOT80Mc,4510
27
27
  code_loader/plot_functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -30,7 +30,7 @@ code_loader/plot_functions/visualize.py,sha256=gsBAYYkwMh7jIpJeDMPS8G4CW-pxwx6Lz
30
30
  code_loader/utils.py,sha256=i1KOchLkieHfaVz6YskSIfKA45HcqAmGAK1F2Kcg38c,2724
31
31
  code_loader/visualizers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  code_loader/visualizers/default_visualizers.py,sha256=onRnLE_TXfgLN4o52hQIOOhUcFexGlqJ3xSpQDVLuZM,2604
33
- code_loader-1.0.112.dev4.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
34
- code_loader-1.0.112.dev4.dist-info/METADATA,sha256=Kh79ftLstiIxiyhJzv_NjSulj9iQpF_8krVI3KJLU9U,906
35
- code_loader-1.0.112.dev4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
36
- code_loader-1.0.112.dev4.dist-info/RECORD,,
33
+ code_loader-1.0.112.dev5.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
34
+ code_loader-1.0.112.dev5.dist-info/METADATA,sha256=TLGeV1X6meziLDhwMSTZqXxzb_QsiotZQAlEefCxf90,906
35
+ code_loader-1.0.112.dev5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
36
+ code_loader-1.0.112.dev5.dist-info/RECORD,,