Home / Function/ _build_raw() — requests Function Reference

_build_raw() — requests Function Reference

Architecture documentation for the _build_raw() function in test_requests.py from the requests codebase.

Function python CoreAPI SessionLifecycle calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  2112e280_1aad_6146_ba17_10eb66ffc148["_build_raw()"]
  10abb140_ad40_5285_21f7_5b6e4a140a93["RedirectSession"]
  2112e280_1aad_6146_ba17_10eb66ffc148 -->|defined in| 10abb140_ad40_5285_21f7_5b6e4a140a93
  ccc37729_feb7_52c6_708d_eea515a31776["build_response()"]
  ccc37729_feb7_52c6_708d_eea515a31776 -->|calls| 2112e280_1aad_6146_ba17_10eb66ffc148
  b16ffa26_8069_dfbb_db7d_3ae1f171dc98["StringIO()"]
  2112e280_1aad_6146_ba17_10eb66ffc148 -->|calls| b16ffa26_8069_dfbb_db7d_3ae1f171dc98
  style 2112e280_1aad_6146_ba17_10eb66ffc148 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_requests.py lines 2580–2583

    def _build_raw(self):
        string = StringIO.StringIO("")
        setattr(string, "release_conn", lambda *args: args)
        return string

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does _build_raw() do?
_build_raw() is a function in the requests codebase, defined in tests/test_requests.py.
Where is _build_raw() defined?
_build_raw() is defined in tests/test_requests.py at line 2580.
What does _build_raw() call?
_build_raw() calls 1 function(s): StringIO.
What calls _build_raw()?
_build_raw() is called by 1 function(s): build_response.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free