kaxil commented on code in PR #57334:
URL: https://github.com/apache/airflow/pull/57334#discussion_r2465167016


##########
task-sdk/src/airflow/sdk/api/client.py:
##########
@@ -851,6 +851,15 @@ def _should_retry_api_request(exception: BaseException) -> 
bool:
 
 
 class Client(httpx.Client):
+    @classmethod
+    @lru_cache()
+    def _get_ssl_context_cached(cls, ca_file: str, ca_path: str | None) -> 
ssl.SSLContext:

Review Comment:
   Should `ca_path` have a default of `None`, then? Similar to 
https://github.com/pyca/pyopenssl/blob/a69d45fc6e77ba5fe55b0326f3d56969b53182b2/src/OpenSSL/SSL.py#L963



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to