limits 4.7.1__py3-none-any.whl → 4.7.3__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.
- limits/_version.py +3 -3
- limits/aio/storage/memcached.py +4 -1
- {limits-4.7.1.dist-info → limits-4.7.3.dist-info}/METADATA +1 -1
- {limits-4.7.1.dist-info → limits-4.7.3.dist-info}/RECORD +7 -7
- {limits-4.7.1.dist-info → limits-4.7.3.dist-info}/WHEEL +0 -0
- {limits-4.7.1.dist-info → limits-4.7.3.dist-info}/licenses/LICENSE.txt +0 -0
- {limits-4.7.1.dist-info → limits-4.7.3.dist-info}/top_level.txt +0 -0
limits/_version.py
CHANGED
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-04-
|
|
11
|
+
"date": "2025-04-12T18:43:47-0700",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "4.7.
|
|
14
|
+
"full-revisionid": "58af4445a2d0b1de9251cd60e847d25267b4830d",
|
|
15
|
+
"version": "4.7.3"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
limits/aio/storage/memcached.py
CHANGED
|
@@ -93,7 +93,10 @@ class MemcachedStorage(Storage, SlidingWindowCounterSupport, TimestampedSlidingW
|
|
|
93
93
|
"""
|
|
94
94
|
:param key: the key to clear rate limits for
|
|
95
95
|
"""
|
|
96
|
-
|
|
96
|
+
try:
|
|
97
|
+
await (await self.get_storage()).delete(key.encode("utf-8"))
|
|
98
|
+
except self.dependency.NotFoundCommandError:
|
|
99
|
+
pass
|
|
97
100
|
|
|
98
101
|
async def decr(self, key: str, amount: int = 1, noreply: bool = False) -> int:
|
|
99
102
|
"""
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
limits/__init__.py,sha256=gPUFrt02kHF_syLjiVRSs-S4UVGpRMcM2VMFNhF6G24,748
|
|
2
|
-
limits/_version.py,sha256=
|
|
2
|
+
limits/_version.py,sha256=jZ64F2cwQ-s302Fiuxp7ygDtnHK_weL0UhvcdhfjUSA,497
|
|
3
3
|
limits/errors.py,sha256=s1el9Vg0ly-z92guvnvYNgKi3_aVqpiw_sufemiLLTI,662
|
|
4
4
|
limits/limits.py,sha256=YzzZP8_ay_zlMMnnY2xhAcFTTFvFe5HEk8NQlvUTru4,4907
|
|
5
5
|
limits/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -12,7 +12,7 @@ limits/aio/strategies.py,sha256=9jnVU_nynm0zL1EjQLE3fus1vFbLqA-19ZRQhhexAGo,1077
|
|
|
12
12
|
limits/aio/storage/__init__.py,sha256=gL4DGTV-XDksZxofaP__sGvwehN8MuuJQuRZeuGwiOQ,695
|
|
13
13
|
limits/aio/storage/base.py,sha256=376Bs7l285vRTRa3-DqcVRnqOPdf3BpoCqbJr3XA9u8,6439
|
|
14
14
|
limits/aio/storage/etcd.py,sha256=QJY8B9jNCNZLpo_cEMUyQkYsk4UIfoMhz7lJUl-ROmk,5081
|
|
15
|
-
limits/aio/storage/memcached.py,sha256=
|
|
15
|
+
limits/aio/storage/memcached.py,sha256=elK5XWQr_P1wnWLxSuWQMEBndx0y4VUW0M1kcWJvIYI,10448
|
|
16
16
|
limits/aio/storage/memory.py,sha256=KzpDnr-o3U6Ar2GkhAUTDokQ8tstUFUIe44_rYlMD3k,9765
|
|
17
17
|
limits/aio/storage/mongodb.py,sha256=AyF5CxpuL0-O-PLZPBWPSbyL6JCRpKAlbIfczLSzFFY,19388
|
|
18
18
|
limits/aio/storage/redis/__init__.py,sha256=p6amEcujcImDUxcYCsfBaLBKp1qH9xDXDjv3FWWfGow,14203
|
|
@@ -36,8 +36,8 @@ limits/storage/redis.py,sha256=b2m5TrPNwS7NBY5btwCN0esGyCVQTwwgCn6f-sTcgFQ,10613
|
|
|
36
36
|
limits/storage/redis_cluster.py,sha256=z6aONMl4p1AY78G3J0BbtK--uztz88krwnpiOsU61BM,4447
|
|
37
37
|
limits/storage/redis_sentinel.py,sha256=AN0WtwHN88TvXk0C2uUE8l5Jhsd1ZxU8XSqrEyQSR20,4327
|
|
38
38
|
limits/storage/registry.py,sha256=CxSaDBGR5aBJPFAIsfX9axCnbcThN3Bu-EH4wHrXtu8,650
|
|
39
|
-
limits-4.7.
|
|
40
|
-
limits-4.7.
|
|
41
|
-
limits-4.7.
|
|
42
|
-
limits-4.7.
|
|
43
|
-
limits-4.7.
|
|
39
|
+
limits-4.7.3.dist-info/licenses/LICENSE.txt,sha256=T6i7kq7F5gIPfcno9FCxU5Hcwm22Bjq0uHZV3ElcjsQ,1061
|
|
40
|
+
limits-4.7.3.dist-info/METADATA,sha256=YPclKajNJE8T3MSA5Nk2M3Ib3HW7C5W8WbJsAFrkwic,11379
|
|
41
|
+
limits-4.7.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
42
|
+
limits-4.7.3.dist-info/top_level.txt,sha256=C7g5ahldPoU2s6iWTaJayUrbGmPK1d6e9t5Nn0vQ2jM,7
|
|
43
|
+
limits-4.7.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|