pythagoras 0.23.3__py3-none-any.whl → 0.23.5__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.
- pythagoras/_060_autonomous_code_portals/autonomous_portal_core_classes.py +3 -2
- pythagoras/_070_protected_code_portals/protected_portal_core_classes.py +6 -4
- {pythagoras-0.23.3.dist-info → pythagoras-0.23.5.dist-info}/METADATA +6 -3
- {pythagoras-0.23.3.dist-info → pythagoras-0.23.5.dist-info}/RECORD +5 -5
- {pythagoras-0.23.3.dist-info → pythagoras-0.23.5.dist-info}/WHEEL +0 -0
|
@@ -152,6 +152,7 @@ class AutonomousFn(SafeFn):
|
|
|
152
152
|
"""
|
|
153
153
|
super()._invalidate_cache()
|
|
154
154
|
if hasattr(self, "_fixed_kwargs_cached"):
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
if not hasattr(self, "_fixed_kwargs_packed"):
|
|
156
|
+
raise AttributeError("Premature cache invalidation: "
|
|
157
|
+
"fixed_kwargs_packed is missing.")
|
|
157
158
|
del self._fixed_kwargs_cached
|
|
@@ -222,10 +222,12 @@ class ProtectedFn(AutonomousFn):
|
|
|
222
222
|
"""
|
|
223
223
|
super()._invalidate_cache()
|
|
224
224
|
if hasattr(self, "_post_validators_cached"):
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
if not hasattr(self, "_post_validators_addrs"):
|
|
226
|
+
raise AttributeError("Premature cache invalidation: "
|
|
227
|
+
"_post_validators_addrs is missing.")
|
|
227
228
|
del self._post_validators_cached
|
|
228
229
|
if hasattr(self, "_pre_validators_cached"):
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
if not hasattr(self, "_pre_validators_addrs"):
|
|
231
|
+
raise AttributeError("Premature cache invalidation: "
|
|
232
|
+
"_pre_validators_addrs is missing.")
|
|
231
233
|
del self._pre_validators_cached
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pythagoras
|
|
3
|
-
Version: 0.23.
|
|
3
|
+
Version: 0.23.5
|
|
4
4
|
Summary: Planet-scale distributed computing in Python.
|
|
5
5
|
Keywords: cloud,ML,AI,serverless,distributed,parallel,machine-learning,deep-learning,pythagoras
|
|
6
6
|
Author: Volodymyr (Vlad) Pavlov
|
|
@@ -80,8 +80,11 @@ Pythagoras elevates two popular techniques — memoization and parallelization
|
|
|
80
80
|
to a global scale and then fuses them, unlocking performance and scalability
|
|
81
81
|
that were previously out of reach.
|
|
82
82
|
|
|
83
|
-
* `Introduction to
|
|
84
|
-
https://colab.research.google.com/drive/
|
|
83
|
+
* `Pythagoras 101: Introduction to Memoization` notebook:
|
|
84
|
+
https://colab.research.google.com/drive/1bvNXFP1BQJqhoS270Dz1lNT4jPCuj540
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
**!!! BOOKMARK THIS PAGE AND COME BACK LATER, WE WILL PUBLISH MORE TUTORIALS SOON !!!**
|
|
85
88
|
|
|
86
89
|
## How to get it?
|
|
87
90
|
|
|
@@ -29,7 +29,7 @@ pythagoras/_050_safe_code_portals/safe_decorator.py,sha256=653b08326b5bdde180592
|
|
|
29
29
|
pythagoras/_050_safe_code_portals/safe_portal_core_classes.py,sha256=0f414a7a6f280cddb9a9b55dbb86f7039fcc4e558147d1c1a2704df640de9ecf,2026
|
|
30
30
|
pythagoras/_060_autonomous_code_portals/__init__.py,sha256=7308e1db007167f22096e0c59701784a4ecc5d5fb776ae016a50dc3b6d100285,1747
|
|
31
31
|
pythagoras/_060_autonomous_code_portals/autonomous_decorators.py,sha256=762597d378d96889dce798c0837f75651061f92b797b12512c36624bb76a62f8,2895
|
|
32
|
-
pythagoras/_060_autonomous_code_portals/autonomous_portal_core_classes.py,sha256=
|
|
32
|
+
pythagoras/_060_autonomous_code_portals/autonomous_portal_core_classes.py,sha256=d07623edf1383bc8b82eae49f6c7b19e3512edc79a05f391133c05a2e02f6739,6027
|
|
33
33
|
pythagoras/_060_autonomous_code_portals/names_usage_analyzer.py,sha256=9aaaf3010c37b46c4f617b0c03c1347e1848a49a29bd116bce47353154ac3d74,7474
|
|
34
34
|
pythagoras/_070_protected_code_portals/__init__.py,sha256=4ef19c25acf6d10aac9aff26da903876e06d167fc274229f9126ce485a094bc9,989
|
|
35
35
|
pythagoras/_070_protected_code_portals/basic_pre_validators.py,sha256=1d63cc3464c602a022e26b74a255c9539ecdb00437c48bb50a41e1e5e443f8f6,1595
|
|
@@ -37,7 +37,7 @@ pythagoras/_070_protected_code_portals/fn_arg_names_checker.py,sha256=e858ce5099
|
|
|
37
37
|
pythagoras/_070_protected_code_portals/list_flattener.py,sha256=9a54b512ad9dc201db348e7908f5ca5f36d171ae3da433511d38023a6ba8d4b5,331
|
|
38
38
|
pythagoras/_070_protected_code_portals/package_manager.py,sha256=4111d71886adcf1e8d28f3c2d3a08c8a352601297f9ab3f08a4541586ed9d376,1965
|
|
39
39
|
pythagoras/_070_protected_code_portals/protected_decorators.py,sha256=956ed45870004246d77d6e364015b3a0d936bd8b919dfa9a56c97d69713a9b80,1627
|
|
40
|
-
pythagoras/_070_protected_code_portals/protected_portal_core_classes.py,sha256=
|
|
40
|
+
pythagoras/_070_protected_code_portals/protected_portal_core_classes.py,sha256=8bd5e15a4d863aa13a14d04f115c37ddec345964c41ae8666b49d200221f5b64,9426
|
|
41
41
|
pythagoras/_070_protected_code_portals/system_utils.py,sha256=878a22110140c852b3aaf774cb0c0023458360a4ae221fef89ff3a5d02176301,2360
|
|
42
42
|
pythagoras/_070_protected_code_portals/validation_succesful_const.py,sha256=602cd3598dd43a71421eb547f1e80f411e30df616deb26912a741a2898d06754,300
|
|
43
43
|
pythagoras/_070_protected_code_portals/validator_fn_classes.py,sha256=4afa4bf0629f68e4b1623003272ffd7111ac9cbb739e81fde601049d19b84269,3232
|
|
@@ -60,6 +60,6 @@ pythagoras/_900_project_stats_collector/__init__.py,sha256=11a82df8184f3ed046829
|
|
|
60
60
|
pythagoras/_900_project_stats_collector/project_analyzer.py,sha256=ba1c9c14a8d421712961c6589da937ca7e0916172197ea19ef0b7ab291718686,3574
|
|
61
61
|
pythagoras/__init__.py,sha256=4cc3ed25d4a2fd64a10a9267b1555d3b8f1672fb3bf0631b522e601dcd5e30bc,1233
|
|
62
62
|
pythagoras/core/__init__.py,sha256=11c3616471c79550d69a0d3b3b49a45b90087919b82477db5de99c8ebc6ba5c0,298
|
|
63
|
-
pythagoras-0.23.
|
|
64
|
-
pythagoras-0.23.
|
|
65
|
-
pythagoras-0.23.
|
|
63
|
+
pythagoras-0.23.5.dist-info/WHEEL,sha256=607c46fee47e440c91332c738096ff0f5e54ca3b0818ee85462dd5172a38e793,79
|
|
64
|
+
pythagoras-0.23.5.dist-info/METADATA,sha256=af6132d76a8cf080ed2ea111704189562e640e7676ac34f48693e08c77840032,4792
|
|
65
|
+
pythagoras-0.23.5.dist-info/RECORD,,
|
|
File without changes
|