Ilya Konstantinov and Alex Waygood
578cebe1c5
protobuf: Annotate well_known_types.pyi (#9323 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-05 18:49:55 +00:00
Ilya Konstantinov
0b5213a213
flask-cors.decorator: allow re.Pattern objects to origins and allow_headers parameters (#7782 )
2022-05-06 19:34:51 +01:00
Ilya Konstantinov
2255a6fdc8
datetime: add timedelta.__bool__ ( #5555 )
2021-05-30 00:43:33 -07:00
Ilya Konstantinov
cf414a2692
Remove pynamodb type stubs ( #4917 )
2021-01-08 08:16:24 -08:00
Ilya Konstantinov
1dc585385a
lru_cache-wrapped function args must be Hashable ( #3944 )
2020-05-27 20:20:56 -07:00
Ilya Konstantinov
4c8d577d68
flask: allow view func body to be dict ( #3149 )
2019-07-31 02:04:36 +02:00
Ilya Konstantinov
93150dc0fa
LoggerAdapter.log argument lvl -> level ( #2722 )
2019-01-04 09:03:56 +01:00
Ilya Konstantinov
1564770456
Add pynamodb.models.Model.get_attribute and narrow down the type ( #2689 )
2018-12-17 17:06:42 +01:00
Ilya Konstantinov
fe04d3aa2d
Accept str in cast ( #2408 )
2018-08-21 07:53:35 -07:00
Ilya Konstantinov
978c0913c8
Add stub for first ( #2141 )
...
Reviewed by author in https://github.com/hynek/first/pull/22
2018-06-11 19:50:56 -07:00
Ilya Konstantinov
129df4957c
pynamodb: fix rate_limited_scan defaults ( #2167 )
...
The `rate_limited_scan` method has defaults for all arguments, including `attributes_to_get` which was omitted.
2018-06-08 23:02:38 -07:00
Ilya Konstantinov
128a49a32d
Fix LoggerAdapter.process first argument ( #2153 )
...
Standard implementation is:
```
def process(self, msg, kwargs):
kwargs["extra"] = self.extra
return msg, kwargs
```
so the signature is clearly `(Text, ...) -> (Text, ...)` (or `(str, ...) -> (str, ...)`, but following the other stubs here, I gather it's `Text`).
2018-05-21 08:27:16 -07:00
Ilya Konstantinov
ab9733b448
Support for response hooks in requests ( #1674 )
2017-10-26 10:56:05 -04:00
Ilya Konstantinov
9a10c74345
requests.Session.headers and proxies not optional ( #1676 )
...
```
>>> import requests
>>> s = requests.session()
>>> s.headers
{'User-Agent': 'python-requests/2.18.4', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}
>>> s.proxies
{}
```
2017-10-25 16:50:59 -04:00