Steve Dignam
1c940e8914
PIL: add optimize param to save ( #9328 )
2022-12-05 00:16:54 +00:00
Steve Dignam
1733c46058
stripe: fix test clocks imports ( #9137 )
2022-11-14 12:44:31 +01:00
Steve Dignam and Alex Waygood
1f191a6c13
stripe: test clocks resource ( #9026 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-10-30 16:23:07 -07:00
Steve Dignam and Alex Waygood
e30ff13b7d
stripe: update a few signatures (#7978 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-06-03 18:27:23 +01:00
Steve Dignam
49e5b528dc
Add more type hints for pyyaml ( #6265 )
2021-11-12 12:23:58 +01:00
Steve Dignam
4ef07810c4
redis: include local property on Lock class ( #6083 )
...
The Lock class as a property local that has a token property that sometimes
needs be accessed / set.
```python
lock = redis.lock(key)
lock.local.token = token
lock.extend(10)
```
Technically the type of `local` is `SimpleNamespace | threading.local`
but I think this setup is a bit stricter but satisfies the API.
2021-09-28 21:16:23 -07:00
Steve Dignam
3d14016085
concurrent.futures: add _work_queue property to ThreadPoolExecutor ( #4808 )
...
`ThreadPoolExecutor` assigns a `queue.SimpleQueue` to `_work_queue` in
its `__init__` method.
https://github.com/python/cpython/blob/7cf0aad96d1d20f07d7f0e374885f327c2d5ff27/Lib/concurrent/futures/thread.py#L144
2020-12-09 19:23:19 -08:00