Skip to content

Commit

Permalink
Migration of Adapter use based on deprecation done for requests v2.32…
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Jul 16, 2024
1 parent 8f2abef commit fe02e51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nucypher/utilities/certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ def init_poolmanager(self, *args, **kwargs) -> None:
self.certificate_cache, *args, **kwargs
)

def get_connection_with_tls_context(self, request, verify, proxies=None, cert=None):
return self.get_connection(request.url, proxies)


class P2PSession(Session):
_DEFAULT_HOSTNAME = ""
Expand Down

0 comments on commit fe02e51

Please sign in to comment.