You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [tests.test_types](src/cachew/tests/test_cachew.py#L697), [tests.test_primitive](src/cachew/tests/test_cachew.py#L731), [tests.test_dates](src/cachew/tests/test_cachew.py#L651), [tests.test_exceptions](src/cachew/tests/test_cachew.py#L1101)
148
+
See [tests.test_types](src/cachew/tests/test_cachew.py#L697), [tests.test_primitive](src/cachew/tests/test_cachew.py#L731), [tests.test_dates](src/cachew/tests/test_cachew.py#L651), [tests.test_exceptions](src/cachew/tests/test_cachew.py#L1127)
149
149
*[@dataclass and NamedTuple](src/cachew/tests/test_cachew.py#L613)
@@ -165,7 +165,7 @@ You can find some of my performance tests in [benchmarks/](benchmarks) dir, and
165
165
166
166
167
167
# Using
168
-
See [docstring](src/cachew/__init__.py#L290) for up-to-date documentation on parameters and return types.
168
+
See [docstring](src/cachew/__init__.py#L296) for up-to-date documentation on parameters and return types.
169
169
You can also use [extensive unit tests](src/cachew/tests/test_cachew.py) as a reference.
170
170
171
171
Some useful (but optional) arguments of `@cachew` decorator:
@@ -271,7 +271,7 @@ Now you can use `@mcachew` in place of `@cachew`, and be certain things don't br
271
271
## Settings
272
272
273
273
274
-
[cachew.settings](src/cachew/__init__.py#L66) exposes some parameters that allow you to control `cachew` behaviour:
274
+
[cachew.settings](src/cachew/__init__.py#L67) exposes some parameters that allow you to control `cachew` behaviour:
275
275
-`ENABLE`: set to `False` if you want to disable caching for without removing the decorators (useful for testing and debugging).
276
276
You can also use [cachew.extra.disabled_cachew](src/cachew/extra.py#L21) context manager to do it temporarily.
277
277
-`DEFAULT_CACHEW_DIR`: override to set a different base directory. The default is the "user cache directory" (see [appdirs docs](https://github.com/ActiveState/appdirs#some-example-output)).
0 commit comments