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
Alex Waygood
a3de404e1d
Pin redis to 4.3.4 in CI ( #9247 )
...
We're about to get a daily test failure with 63 stubtest errors (see the Ubuntu stubtest failure in #9187 ) due to the release of redis-py 4.3.5, and I'd rather that didn't happen.
2022-11-22 12:46:42 +01:00
Nikita Sobolev
c0e9038f0d
Fix and allow classes with missing metaclasses ( #9136 )
2022-11-08 18:13:59 +00:00
Peter Schutt
25810e1b11
Fixes redis.asyncio.client: AsyncIterator cannot be async def in stubs. ( #8961 )
...
Without the `yield` statement in the method body, these are interpreted by mypy as coroutines that return an `AsyncIterator`.
Closes #8960
2022-10-21 09:44:51 -07:00
Nikita Sobolev
f07e68d7a4
[redis] Type redis.commands.parser ( #8870 )
2022-10-13 20:52:13 -07:00
Nikita Sobolev
27e9fde673
Add redis.asyncio.parser ( #8830 )
...
Source: https://github.com/redis/redis-py/blob/master/redis/asyncio/parser.py
2022-10-03 10:49:55 -07:00
Nikita Sobolev
721ad3d785
[redis] Improve fail parameter of Retry.call_with_retry ( #8827 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-10-03 09:48:37 -07:00
Nikita Sobolev
bee4ee3199
[redis] Improve redis.asyncio.lock types ( #8826 )
2022-10-03 09:31:10 -07:00
Alex Waygood
48e76e8a56
Bump mypy to 0.981 ( #8796 )
2022-09-26 17:14:33 -07:00
Nikita Sobolev
4a4acdb30a
redis: Improve kwargs typing in sentinel (#8661 )
2022-09-02 13:02:12 +01:00
Nikita Sobolev
d3cded7fc6
redis: Add _Encodable type alias ( #8638 )
2022-08-29 13:38:22 +02:00
Nikita Sobolev
481027e194
redis: Improve ClusterPubSub types ( #8627 )
2022-08-27 16:13:46 +01:00
Nikita Sobolev
57495ddaf4
Update redis/cluster.pyi ( #8593 )
2022-08-22 16:09:01 +02:00