_check_cryptography() — requests Function Reference
Architecture documentation for the _check_cryptography() function in __init__.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 8b72c79b_e6a3_aa0f_37a5_10aa14db6c4d["_check_cryptography()"] 961d4893_d7e8_96e8_b607_9aeb34411448["__init__.py"] 8b72c79b_e6a3_aa0f_37a5_10aa14db6c4d -->|defined in| 961d4893_d7e8_96e8_b607_9aeb34411448 134983a7_5174_a141_2fff_b29bfbc4ea97["ssl()"] 134983a7_5174_a141_2fff_b29bfbc4ea97 -->|calls| 8b72c79b_e6a3_aa0f_37a5_10aa14db6c4d style 8b72c79b_e6a3_aa0f_37a5_10aa14db6c4d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/requests/__init__.py lines 93–104
def _check_cryptography(cryptography_version):
# cryptography < 1.3.4
try:
cryptography_version = list(map(int, cryptography_version.split(".")))
except ValueError:
return
if cryptography_version < [1, 3, 4]:
warning = (
f"Old version of cryptography ({cryptography_version}) may cause slowdown."
)
warnings.warn(warning, RequestsDependencyWarning)
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does _check_cryptography() do?
_check_cryptography() is a function in the requests codebase, defined in src/requests/__init__.py.
Where is _check_cryptography() defined?
_check_cryptography() is defined in src/requests/__init__.py at line 93.
What calls _check_cryptography()?
_check_cryptography() is called by 1 function(s): ssl.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free