-
-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
Problem
- aiohttp supports a
socket_factoryparameter to configure socket settings: https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.TCPConnector.- This was added in aiohttp 3.12.
- Trying to pass
socket_factoryviaAioConfigas a key inconnector_argsfails the validation check inAioConfig._validate_connector_args.- Using latest aiobotocore.
This is similar to #1258, which introduced the ttl_dns_cache argument.
Alternatives
One can get around this by subclassing AioConfig to ignore the check for socket_factory, but it would be better if this was just accepted by aiobotocore.
Development
Happy to send a PR if this is considered a valid issue.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels