Commit Graph

160 Commits

Author SHA1 Message Date
elijahr
4d75bc89ec Redis: Correct ExpiryT alias (#12611) 2024-09-02 08:58:02 +02:00
Avasam
937270df0c Forbid extremely long line lengths in non-autogenerated stubs (#12537)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-08-18 16:03:34 -04:00
sobolevn
6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Sebastian Rittau
8fb8a4a489 Mark redis as obsolete (#12426) 2024-07-25 15:12:11 +02:00
Alex Waygood
d0f2be92ab Bump pyright to v1.1.360 (#11810) 2024-04-24 14:09:16 +02:00
Eric Traut
17f1c4628a Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-04-22 15:10:59 +01:00
Sebastian Rittau
7d56cd9a6c Remove remaining bare Incompletes (#11768)
Enable Y065
2024-04-16 06:26:14 -07:00
Sebastian Rittau
09ff220e09 Rework redis/asyncio/{connection,sentinel}.pyi (#10370)
Closes: #10362
2024-04-08 18:26:58 -04:00
Alex Waygood
55205a4ce6 Make stubtest pass on libsass/passlib/redis/tree-sitter if you're using Python 3.12 (#11561) 2024-03-10 14:16:34 +00:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
Mehdi ABAAKOUK
522f4bc9bf fix(redis): make xadd fields use SupportsItems (#10780)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-17 16:48:01 +00:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Alex Waygood
b04e50d522 redis: remove unused type: ignores (#11062) 2023-11-23 14:02:25 +01:00
Alex Waygood
8023ba764a Remove redundant inheritances from Generic and various typing protocols (#10981) 2023-11-06 14:00:25 +01:00
SEONGROK KIM
5122e84f49 Add retry_on_error params for redis stub (#10961) 2023-11-02 17:20:20 +00:00
Alex Waygood
a08d4c8d2e Remove many redundant inheritances from Generic[] (#10933) 2023-10-26 20:07:20 +02:00
Amin Alaee
6ed18ec37a Add overloads to redis.asyncio.Redis (#10742) 2023-09-22 19:40:17 -07:00
Sebastian Rittau
c31e12fff1 [redis] Don't recommend uninstalling types-redis (#10694) 2023-09-12 17:49:26 +02:00
Mehdi ABAAKOUK
32b750b6aa redis: Improve typing of xadd/xdel (#10531)
typing copied from
https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xadd
https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xdel
2023-08-22 13:28:15 +01:00
github-actions[bot]
2ec7b8dae4 [stubsabot] Mark redis as obsolete since 5.0.0 (#10587) 2023-08-16 09:34:55 +02:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Damien Couppé
fc7d4722ea Redis: Add missing types for id in xadd (#10403) 2023-07-04 14:03:02 +02:00
Nikita Sobolev
3d352e85e5 Use proper return types for __await__ methods in redis.asyncio.client (#10379) 2023-07-01 18:40:40 +01:00
Sebastian Rittau
d2c87ac97d Bump redis to 4.6.0 (#10360)
Closes: #10359
2023-06-27 19:25:52 +01:00
Nikita Sobolev
6c54c74a84 Bump mypy to 1.3.0 (#10173)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-05-11 19:03:39 +01:00
Avasam
db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Nikita Sobolev
caceaca974 [redis] Add new methods to RedisClusterCommands (#10162) 2023-05-09 14:43:35 +01:00
Nikita Sobolev
0f96850532 Update redis to 4.5.5 (#10161) 2023-05-09 14:18:50 +01:00
Martijn Pieters
03e3955037 Redis: Add missing exported names (#10151) 2023-05-06 22:24:44 +01:00
Riley Flynn
509ba05c27 [redis] Add CredentialProvider types to __init__.pyi (#9982) 2023-03-30 00:13:27 +02:00
Raphaël Vinot
51cef77ac5 [redis] Fix type of connection_class in ConnectionPool (#9981)
Update stubs to 4.5.4
2023-03-29 22:16:18 +02:00
Avery Fischer (biggerfisch)
6b485a8823 Add retry parameters to redis.client.from_url (#9969) 2023-03-28 13:45:54 +02:00
Alex Waygood
b69b17c3d8 Add defaults for third-party stubs Q-T (#9959) 2023-03-28 13:16:31 +02:00
github-actions[bot]
bcc23ecd48 [stubsabot] Bump redis to 4.5.3 (#9928)
Release: https://pypi.org/pypi/redis/4.5.3
Homepage: https://github.com/redis/redis-py
Changelog: https://github.com/redis/redis-py/releases
Diff: https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 2 files included in typeshed's stubs have been modified or renamed: `redis/asyncio/client.py`, `redis/asyncio/cluster.py`.
 - Total lines of Python code added: 58.
 - Total lines of Python code deleted: 6.
2023-03-23 00:22:28 +00:00
Sebastian Rittau
104cdf9d0d [redis] Update stubs to 4.5.2 (#9912) 2023-03-21 20:26:41 +00:00
Károly Szabó
8705cade74 Add missing properties for redis.lock.Lock (#9867) 2023-03-11 13:51:33 +00:00
Avasam
52ec44fa58 Improve many __(a)exit__ annotations (#9696) 2023-02-25 21:50:30 +00:00
Avasam
078c6a0958 Update Unused parameters in stubs/ (#9704)
* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Avasam
ed6748fb32 Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Sebastian Rittau
39487a8bab [redis] Update to 4.5.1 (#9697)
Also add a few argument defaults
2023-02-10 11:10:37 +00:00
Juan Amari
ce8c82a27c [redis] Initial stubs for redis.asyncio.cluster (#9468)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-02-03 13:27:39 +00:00
Avasam
f1aede7162 Manual changes of Any union to Incomplete in stubs folder (#9566)
- ClassVar[Any | None]
- Missed previous changes due to alias
- Manual review of leftover Any unions (`| Any` and `Any |`)
2023-02-02 06:48:41 -08:00
wookie184
0024dc4f33 Add some missing Self return annotations in redis (#9601) 2023-01-28 16:47:29 +00:00
Avasam
6ac24ed923 Replace Any with Incomplete in many places (#9565) 2023-01-18 19:12:46 +00:00
Alex Waygood
4fea314594 Replace Any with Incomplete in many places (#9558) 2023-01-18 08:48:16 +00:00
Avasam
5b0488928d Complete and validate redis.ocsp (use requests, cryptography and pyopenssl) (#9528) 2023-01-17 15:47:26 +00:00
Juan Amari
605378de6e Bump redis to 4.4.0 (#9458)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-01-05 15:25:11 +00:00
Avasam
23ac9bff19 Check for unused pyright: ignore and differentiate from mypy ignores (#9397) 2022-12-28 10:44:29 +00:00
Nikita Sobolev
a29624ee42 [redis] update to 4.3.5 (#9284) 2022-11-27 22:23:51 -08:00