gamla 147__tar.gz → 148__tar.gz
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.
- {gamla-147/gamla.egg-info → gamla-148}/PKG-INFO +1 -1
- {gamla-147 → gamla-148}/gamla/higher_order.py +14 -2
- {gamla-147 → gamla-148/gamla.egg-info}/PKG-INFO +1 -1
- {gamla-147 → gamla-148}/setup.py +1 -1
- {gamla-147 → gamla-148}/LICENSE +0 -0
- {gamla-147 → gamla-148}/README.md +0 -0
- {gamla-147 → gamla-148}/docs/source/conf.py +0 -0
- {gamla-147 → gamla-148}/gamla/__init__.py +0 -0
- {gamla-147 → gamla-148}/gamla/apply_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/apply_utils.py +0 -0
- {gamla-147 → gamla-148}/gamla/construct.py +0 -0
- {gamla-147 → gamla-148}/gamla/construct_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/currying.py +0 -0
- {gamla-147 → gamla-148}/gamla/data.py +0 -0
- {gamla-147 → gamla-148}/gamla/data_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/debug_utils.py +0 -0
- {gamla-147 → gamla-148}/gamla/dict_utils.py +0 -0
- {gamla-147 → gamla-148}/gamla/dict_utils_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/excepts_decorator.py +0 -0
- {gamla-147 → gamla-148}/gamla/excepts_decorator_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/functional.py +0 -0
- {gamla-147 → gamla-148}/gamla/functional_async.py +0 -0
- {gamla-147 → gamla-148}/gamla/functional_generic.py +0 -0
- {gamla-147 → gamla-148}/gamla/functional_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/graph.py +0 -0
- {gamla-147 → gamla-148}/gamla/graph_async.py +0 -0
- {gamla-147 → gamla-148}/gamla/graph_async_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/graph_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/higher_order_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/immutable_set.py +0 -0
- {gamla-147 → gamla-148}/gamla/immutable_set_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/io_utils.py +0 -0
- {gamla-147 → gamla-148}/gamla/io_utils_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/operator.py +0 -0
- {gamla-147 → gamla-148}/gamla/operator_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/optimized/__init__.py +0 -0
- {gamla-147 → gamla-148}/gamla/optimized/async_functions.py +0 -0
- {gamla-147 → gamla-148}/gamla/optimized/async_functions_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/optimized/sync.py +0 -0
- {gamla-147 → gamla-148}/gamla/optimized/sync_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/string_utils.py +0 -0
- {gamla-147 → gamla-148}/gamla/transducer.py +0 -0
- {gamla-147 → gamla-148}/gamla/transducer_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/tree.py +0 -0
- {gamla-147 → gamla-148}/gamla/tree_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/type_safety.py +0 -0
- {gamla-147 → gamla-148}/gamla/type_safety_test.py +0 -0
- {gamla-147 → gamla-148}/gamla/url_utils.py +0 -0
- {gamla-147 → gamla-148}/gamla/url_utils_test.py +0 -0
- {gamla-147 → gamla-148}/gamla.egg-info/SOURCES.txt +0 -0
- {gamla-147 → gamla-148}/gamla.egg-info/dependency_links.txt +0 -0
- {gamla-147 → gamla-148}/gamla.egg-info/requires.txt +0 -0
- {gamla-147 → gamla-148}/gamla.egg-info/top_level.txt +0 -0
- {gamla-147 → gamla-148}/setup.cfg +0 -0
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
from typing import Any, Callable
|
|
3
3
|
|
|
4
|
-
from gamla import
|
|
4
|
+
from gamla import (
|
|
5
|
+
construct,
|
|
6
|
+
debug_utils,
|
|
7
|
+
excepts_decorator,
|
|
8
|
+
functional,
|
|
9
|
+
functional_generic,
|
|
10
|
+
operator,
|
|
11
|
+
)
|
|
5
12
|
from gamla.optimized import async_functions
|
|
6
13
|
|
|
7
14
|
|
|
@@ -88,7 +95,12 @@ def persistent_cache(
|
|
|
88
95
|
functional_generic.ternary(
|
|
89
96
|
construct.just(force),
|
|
90
97
|
functional.make_raise(KeyError),
|
|
91
|
-
functional_generic.compose_left(
|
|
98
|
+
functional_generic.compose_left(
|
|
99
|
+
make_key,
|
|
100
|
+
debug_utils.log_text("getting {} from cache"),
|
|
101
|
+
get_item,
|
|
102
|
+
decode,
|
|
103
|
+
),
|
|
92
104
|
),
|
|
93
105
|
)
|
|
94
106
|
|
{gamla-147 → gamla-148}/setup.py
RENAMED
{gamla-147 → gamla-148}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|