limits 4.4.1__py3-none-any.whl → 4.5__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/memory.py +1 -1
- {limits-4.4.1.dist-info → limits-4.5.dist-info}/METADATA +3 -2
- {limits-4.4.1.dist-info → limits-4.5.dist-info}/RECORD +7 -7
- {limits-4.4.1.dist-info → limits-4.5.dist-info}/WHEEL +1 -1
- {limits-4.4.1.dist-info → limits-4.5.dist-info/licenses}/LICENSE.txt +0 -0
- {limits-4.4.1.dist-info → limits-4.5.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-
|
|
11
|
+
"date": "2025-04-03T09:10:26-0700",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "4.
|
|
14
|
+
"full-revisionid": "600e96abcf2692e49909b8cf6ca19fc0ee3b2ac3",
|
|
15
|
+
"version": "4.5"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
limits/aio/storage/memory.py
CHANGED
|
@@ -61,7 +61,7 @@ class MemoryStorage(
|
|
|
61
61
|
asyncio.ensure_future(self.__schedule_expiry())
|
|
62
62
|
|
|
63
63
|
async def __expire_events(self) -> None:
|
|
64
|
-
for key in self.events.keys():
|
|
64
|
+
for key in list(self.events.keys()):
|
|
65
65
|
async with self.locks[key]:
|
|
66
66
|
for event in list(self.events[key]):
|
|
67
67
|
if event.expiry <= time.time() and event in self.events[key]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: limits
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.5
|
|
4
4
|
Summary: Rate limiting utilities
|
|
5
5
|
Home-page: https://limits.readthedocs.org
|
|
6
6
|
Author: Ali-Akber Saifee
|
|
@@ -66,6 +66,7 @@ Dynamic: classifier
|
|
|
66
66
|
Dynamic: description
|
|
67
67
|
Dynamic: home-page
|
|
68
68
|
Dynamic: license
|
|
69
|
+
Dynamic: license-file
|
|
69
70
|
Dynamic: project-url
|
|
70
71
|
Dynamic: provides-extra
|
|
71
72
|
Dynamic: requires-dist
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
limits/__init__.py,sha256=gPUFrt02kHF_syLjiVRSs-S4UVGpRMcM2VMFNhF6G24,748
|
|
2
|
-
limits/_version.py,sha256=
|
|
2
|
+
limits/_version.py,sha256=R__xejtRsoDNleT8kdXDM-BdFbBjPHvafnTO3EKk5DE,495
|
|
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
|
|
@@ -13,7 +13,7 @@ limits/aio/storage/__init__.py,sha256=gL4DGTV-XDksZxofaP__sGvwehN8MuuJQuRZeuGwiO
|
|
|
13
13
|
limits/aio/storage/base.py,sha256=376Bs7l285vRTRa3-DqcVRnqOPdf3BpoCqbJr3XA9u8,6439
|
|
14
14
|
limits/aio/storage/etcd.py,sha256=QJY8B9jNCNZLpo_cEMUyQkYsk4UIfoMhz7lJUl-ROmk,5081
|
|
15
15
|
limits/aio/storage/memcached.py,sha256=kSX7B0CRS-qDVCQot4AW0rF3YwomXRyWg6W0_RyaHhM,10361
|
|
16
|
-
limits/aio/storage/memory.py,sha256=
|
|
16
|
+
limits/aio/storage/memory.py,sha256=KzpDnr-o3U6Ar2GkhAUTDokQ8tstUFUIe44_rYlMD3k,9765
|
|
17
17
|
limits/aio/storage/mongodb.py,sha256=EvwYBu9YoNX7j6A8XB8ik8SqMx0n4oWmBYhh4LHMYaI,19310
|
|
18
18
|
limits/aio/storage/redis/__init__.py,sha256=p6amEcujcImDUxcYCsfBaLBKp1qH9xDXDjv3FWWfGow,14203
|
|
19
19
|
limits/aio/storage/redis/bridge.py,sha256=cKs77RoCxUPfYD6_o1AiHfqpkeq_DFqMtVQKMLhEWdY,3183
|
|
@@ -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.
|
|
40
|
-
limits-4.
|
|
41
|
-
limits-4.
|
|
42
|
-
limits-4.
|
|
43
|
-
limits-4.
|
|
39
|
+
limits-4.5.dist-info/licenses/LICENSE.txt,sha256=T6i7kq7F5gIPfcno9FCxU5Hcwm22Bjq0uHZV3ElcjsQ,1061
|
|
40
|
+
limits-4.5.dist-info/METADATA,sha256=3_eOlJ-haYkFg_lBbWTCerphb7RH17hzFd3oFRcvpO0,11377
|
|
41
|
+
limits-4.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
42
|
+
limits-4.5.dist-info/top_level.txt,sha256=C7g5ahldPoU2s6iWTaJayUrbGmPK1d6e9t5Nn0vQ2jM,7
|
|
43
|
+
limits-4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|