smoothapi-py 1.2.0__tar.gz → 1.2.1__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.
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/PKG-INFO +1 -1
- smoothapi_py-1.2.1/out.txt +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/pyproject.toml +1 -1
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/smooth_api/__init__.py +5 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/.gitignore +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/LICENSE +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/README.md +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/smooth_api/config.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/smooth_api/dedup.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/smooth_api/state.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/smooth_api/utils.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/tests/conftest.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/tests/test_concurrency.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/tests/test_deduplication.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/tests/test_exceptions.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/tests/test_isolation.py +0 -0
- {smoothapi_py-1.2.0 → smoothapi_py-1.2.1}/tests/test_resilience.py +0 -0
|
Binary file
|
|
@@ -139,6 +139,11 @@ def smooth_api(config: SmoothConfig):
|
|
|
139
139
|
return wrapper
|
|
140
140
|
|
|
141
141
|
else:
|
|
142
|
+
if deduplicator is not None:
|
|
143
|
+
import warnings
|
|
144
|
+
# Sync deduplication requires a thread-safe lock manager, which is currently unsupported
|
|
145
|
+
warnings.warn("Synchronous deduplication is not supported. Deduplication will be ignored for this function.", UserWarning, stacklevel=2)
|
|
146
|
+
|
|
142
147
|
@functools.wraps(fn)
|
|
143
148
|
def wrapper(*args, **kwargs): # type: ignore[misc]
|
|
144
149
|
fallback = kwargs.pop('fallback', config.fallback)
|
|
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
|