The current logic didn't work.
_pydantic_compat
HTTPAdapter.get_connection
get_connection_with_tls_context
PerConnectionState