Home / Function/ list_paths() — requests Function Reference

list_paths() — requests Function Reference

Architecture documentation for the list_paths() function in cookies.py from the requests codebase.

Entity Profile

Dependency Diagram

graph TD
  901cc40b_2175_1e4f_0c99_13d7e13784f7["list_paths()"]
  12ccbc5f_4c31_987c_5272_7babba58a1f2["RequestsCookieJar"]
  901cc40b_2175_1e4f_0c99_13d7e13784f7 -->|defined in| 12ccbc5f_4c31_987c_5272_7babba58a1f2
  style 901cc40b_2175_1e4f_0c99_13d7e13784f7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/requests/cookies.py lines 285–291

    def list_paths(self):
        """Utility method to list all the paths in the jar."""
        paths = []
        for cookie in iter(self):
            if cookie.path not in paths:
                paths.append(cookie.path)
        return paths

Domain

Subdomains

Frequently Asked Questions

What does list_paths() do?
list_paths() is a function in the requests codebase, defined in src/requests/cookies.py.
Where is list_paths() defined?
list_paths() is defined in src/requests/cookies.py at line 285.

Analyze Your Own Codebase

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

Try Supermodel Free