code-loader 1.0.169.dev0__py3-none-any.whl → 1.0.170__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.
@@ -961,6 +961,9 @@ def tensorleap_metadata(
961
961
  def _validate_result(result):
962
962
  supported_result_types = (type(None), int, str, bool, float, dict, np.floating,
963
963
  np.bool_, np.unsignedinteger, np.signedinteger, np.integer)
964
+ if isinstance(result, tuple):
965
+ validate_output_structure(result, func_name=user_function.__name__,
966
+ expected_type_name=supported_result_types)
964
967
  assert isinstance(result, supported_result_types), \
965
968
  (f'{user_function.__name__}() validation failed: '
966
969
  f'Unsupported return type. Got {type(result)}. should be any of {str(supported_result_types)}')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code-loader
3
- Version: 1.0.169.dev0
3
+ Version: 1.0.170
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=Wu8Mgltf46YkqNczmYhpY-7aYIbQwTJ87hEDoyo_Mzo,33333
24
- code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=tG88BGHVXhwE6INsxl3kazMig23Yd-qDhySpULtiskg,85425
24
+ code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=W5mBAA-72ilFYgaeap1BjGN5mJb0-epDnlFKXIu4FIc,85636
25
25
  code_loader/leaploader.py,sha256=TW82exQGqEk36XOLonjOfx4zU4P0BoOQLbft687uU_0,30707
26
26
  code_loader/leaploaderbase.py,sha256=NXCDIIF7-ziGJccKIE9NszMSYKEE-3bn4Z4Xa3oYYOc,5909
27
27
  code_loader/mixpanel_tracker.py,sha256=eKvymkw7X2Ht6iw-a0V9VQm6OnB9kW7hYy35YtwRAvU,8457
@@ -31,7 +31,7 @@ code_loader/plot_functions/visualize.py,sha256=gsBAYYkwMh7jIpJeDMPS8G4CW-pxwx6Lz
31
31
  code_loader/utils.py,sha256=YecipkdTA-VcE9F0RQcY9cFnY8P3AksPnHM2Db7xUSk,3972
32
32
  code_loader/visualizers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  code_loader/visualizers/default_visualizers.py,sha256=onRnLE_TXfgLN4o52hQIOOhUcFexGlqJ3xSpQDVLuZM,2604
34
- code_loader-1.0.169.dev0.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
35
- code_loader-1.0.169.dev0.dist-info/METADATA,sha256=-P_wbxIVZSw1PAL14IAyopNZNpgMVZmeOkBxxEXkI78,1095
36
- code_loader-1.0.169.dev0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
37
- code_loader-1.0.169.dev0.dist-info/RECORD,,
34
+ code_loader-1.0.170.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
35
+ code_loader-1.0.170.dist-info/METADATA,sha256=nwe7KsQarWC7bzLnMGxcIquc6-WbSxnSRRwL8S6KWbQ,1090
36
+ code_loader-1.0.170.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
37
+ code_loader-1.0.170.dist-info/RECORD,,