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.
Files changed (54) hide show
  1. {gamla-147/gamla.egg-info → gamla-148}/PKG-INFO +1 -1
  2. {gamla-147 → gamla-148}/gamla/higher_order.py +14 -2
  3. {gamla-147 → gamla-148/gamla.egg-info}/PKG-INFO +1 -1
  4. {gamla-147 → gamla-148}/setup.py +1 -1
  5. {gamla-147 → gamla-148}/LICENSE +0 -0
  6. {gamla-147 → gamla-148}/README.md +0 -0
  7. {gamla-147 → gamla-148}/docs/source/conf.py +0 -0
  8. {gamla-147 → gamla-148}/gamla/__init__.py +0 -0
  9. {gamla-147 → gamla-148}/gamla/apply_test.py +0 -0
  10. {gamla-147 → gamla-148}/gamla/apply_utils.py +0 -0
  11. {gamla-147 → gamla-148}/gamla/construct.py +0 -0
  12. {gamla-147 → gamla-148}/gamla/construct_test.py +0 -0
  13. {gamla-147 → gamla-148}/gamla/currying.py +0 -0
  14. {gamla-147 → gamla-148}/gamla/data.py +0 -0
  15. {gamla-147 → gamla-148}/gamla/data_test.py +0 -0
  16. {gamla-147 → gamla-148}/gamla/debug_utils.py +0 -0
  17. {gamla-147 → gamla-148}/gamla/dict_utils.py +0 -0
  18. {gamla-147 → gamla-148}/gamla/dict_utils_test.py +0 -0
  19. {gamla-147 → gamla-148}/gamla/excepts_decorator.py +0 -0
  20. {gamla-147 → gamla-148}/gamla/excepts_decorator_test.py +0 -0
  21. {gamla-147 → gamla-148}/gamla/functional.py +0 -0
  22. {gamla-147 → gamla-148}/gamla/functional_async.py +0 -0
  23. {gamla-147 → gamla-148}/gamla/functional_generic.py +0 -0
  24. {gamla-147 → gamla-148}/gamla/functional_test.py +0 -0
  25. {gamla-147 → gamla-148}/gamla/graph.py +0 -0
  26. {gamla-147 → gamla-148}/gamla/graph_async.py +0 -0
  27. {gamla-147 → gamla-148}/gamla/graph_async_test.py +0 -0
  28. {gamla-147 → gamla-148}/gamla/graph_test.py +0 -0
  29. {gamla-147 → gamla-148}/gamla/higher_order_test.py +0 -0
  30. {gamla-147 → gamla-148}/gamla/immutable_set.py +0 -0
  31. {gamla-147 → gamla-148}/gamla/immutable_set_test.py +0 -0
  32. {gamla-147 → gamla-148}/gamla/io_utils.py +0 -0
  33. {gamla-147 → gamla-148}/gamla/io_utils_test.py +0 -0
  34. {gamla-147 → gamla-148}/gamla/operator.py +0 -0
  35. {gamla-147 → gamla-148}/gamla/operator_test.py +0 -0
  36. {gamla-147 → gamla-148}/gamla/optimized/__init__.py +0 -0
  37. {gamla-147 → gamla-148}/gamla/optimized/async_functions.py +0 -0
  38. {gamla-147 → gamla-148}/gamla/optimized/async_functions_test.py +0 -0
  39. {gamla-147 → gamla-148}/gamla/optimized/sync.py +0 -0
  40. {gamla-147 → gamla-148}/gamla/optimized/sync_test.py +0 -0
  41. {gamla-147 → gamla-148}/gamla/string_utils.py +0 -0
  42. {gamla-147 → gamla-148}/gamla/transducer.py +0 -0
  43. {gamla-147 → gamla-148}/gamla/transducer_test.py +0 -0
  44. {gamla-147 → gamla-148}/gamla/tree.py +0 -0
  45. {gamla-147 → gamla-148}/gamla/tree_test.py +0 -0
  46. {gamla-147 → gamla-148}/gamla/type_safety.py +0 -0
  47. {gamla-147 → gamla-148}/gamla/type_safety_test.py +0 -0
  48. {gamla-147 → gamla-148}/gamla/url_utils.py +0 -0
  49. {gamla-147 → gamla-148}/gamla/url_utils_test.py +0 -0
  50. {gamla-147 → gamla-148}/gamla.egg-info/SOURCES.txt +0 -0
  51. {gamla-147 → gamla-148}/gamla.egg-info/dependency_links.txt +0 -0
  52. {gamla-147 → gamla-148}/gamla.egg-info/requires.txt +0 -0
  53. {gamla-147 → gamla-148}/gamla.egg-info/top_level.txt +0 -0
  54. {gamla-147 → gamla-148}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gamla
3
- Version: 147
3
+ Version: 148
4
4
  Requires-Python: >=3.11
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -1,7 +1,14 @@
1
1
  import asyncio
2
2
  from typing import Any, Callable
3
3
 
4
- from gamla import construct, excepts_decorator, functional, functional_generic, operator
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(make_key, get_item, decode),
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gamla
3
- Version: 147
3
+ Version: 148
4
4
  Requires-Python: >=3.11
5
5
  Description-Content-Type: text/markdown
6
6
  License-File: LICENSE
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
6
6
 
7
7
  setuptools.setup(
8
8
  name="gamla",
9
- version="147",
9
+ version="148",
10
10
  python_requires=">=3.11",
11
11
  long_description=_LONG_DESCRIPTION,
12
12
  long_description_content_type="text/markdown",
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