Michael
|
67c4de90f3
|
Add option to select list of accepted ssl ciphers in httpx client (#91389)
|
2023-04-15 09:32:30 -10:00 |
J. Nick Koston
|
1f2268a878
|
Fix httpx client creating a new ssl context with each client (memory leak) (#90191)
* Fix httpx client creating a new ssl context with each client
While working on https://github.com/home-assistant/core/issues/83524
it was discovered that each new httpx client creates a new ssl context
f1157dbc41/httpx/_transports/default.py (L261)
If an ssl context is passed in creating a new one is avoided here
f1157dbc41/httpx/_config.py (L110)
This change makes httpx ssl no-verify behavior match aiohttp ssl no-verify
behavior
6da04694fd/aiohttp/connector.py (L892)
aiohttp solved this by wrapping the code that generates the ssl context
in an lru_cache
* compact
|
2023-03-24 08:40:47 +01:00 |
J. Nick Koston
|
87264d219a
|
Fix ssl context being recreated frequently in httpx (#89932)
* Fix ssl context being created every time in httpx
* its expensive, only do it once
|
2023-03-19 05:13:48 -04:00 |
Marc Mueller
|
386533a16f
|
Update mypy to 1.1.1 (#89268)
* Update mypy to 1.1.1
* Update pydantic to 1.10.6
|
2023-03-08 22:57:54 +01:00 |
Marc Mueller
|
ea4e2ab4aa
|
Add Self typing (4) [mypy 1.0] (#87601)
|
2023-02-06 22:30:22 -06:00 |
Raman Gupta
|
3884b4b6bf
|
Bump zwave-js-server-python to 0.42.0 (#79020)
|
2022-09-28 21:24:04 -04:00 |
Marc Mueller
|
bfb1abd3a2
|
Add type ignore error codes [helpers] (#66776)
|
2022-02-18 11:31:37 +01:00 |
Ruslan Sayfutdinov
|
55f4962c06
|
Fix pylint plugin which checks relative imports (#62693)
|
2021-12-23 11:14:47 -08:00 |
Marc Mueller
|
77ee72cbb9
|
Import Callable from collections.abc (1) (#56775)
|
2021-09-29 16:32:11 +02:00 |
Marc Mueller
|
2956eb0902
|
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
|
2021-03-29 18:02:56 -10:00 |
Franck Nijhof
|
38d14702fa
|
Remove HomeAssistantType alias from helpers (#48400)
|
2021-03-27 12:55:24 +01:00 |
J. Nick Koston
|
79af18a8ab
|
Bump httpx to 0.17.1 (#48388)
* Bump httpx to 0.17.1
* git add
* typing
* add test
* tweak
|
2021-03-27 09:02:01 +01:00 |
Marc Mueller
|
6fb2e63e49
|
Update typing 02 (#48014)
|
2021-03-17 18:34:19 +01:00 |
tkdrob
|
c2302784c2
|
Use core constants for helpers (#46240)
|
2021-02-08 22:53:17 +01:00 |
J. Nick Koston
|
dd0afc3b66
|
Create httpx helper to wrap a shared httpx.AsyncClient (#43877)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2020-12-09 17:18:57 +01:00 |