__init__.py — requests Source File
Architecture documentation for __init__.py, a python file in the requests codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 791d5c50_4035_fe2d_0dfe_c95ab4253607["__init__.py"] 009aac51_ed5c_c3ea_588d_73c6c4638941["warnings"] 791d5c50_4035_fe2d_0dfe_c95ab4253607 --> 009aac51_ed5c_c3ea_588d_73c6c4638941 3553b178_6549_f13d_615a_050813f5c27c["urllib3.exceptions"] 791d5c50_4035_fe2d_0dfe_c95ab4253607 --> 3553b178_6549_f13d_615a_050813f5c27c style 791d5c50_4035_fe2d_0dfe_c95ab4253607 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"""Requests test package initialisation."""
import warnings
try:
from urllib3.exceptions import SNIMissingWarning
# urllib3 1.x sets SNIMissingWarning to only go off once,
# while this test suite requires it to always fire
# so that it occurs during test_requests.test_https_warnings
warnings.simplefilter("always", SNIMissingWarning)
except ImportError:
# urllib3 2.0 removed that warning and errors out instead
SNIMissingWarning = None
Domain
Subdomains
Functions
Dependencies
- urllib3.exceptions
- warnings
Source
Frequently Asked Questions
What does __init__.py do?
__init__.py is a source file in the requests codebase, written in python. It belongs to the CoreAPI domain, SessionLifecycle subdomain.
What functions are defined in __init__.py?
__init__.py defines 2 function(s): SNIMissingWarning, urllib3.
What does __init__.py depend on?
__init__.py imports 2 module(s): urllib3.exceptions, warnings.
Where is __init__.py in the architecture?
__init__.py is located at tests/__init__.py (domain: CoreAPI, subdomain: SessionLifecycle, directory: tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free