Skip to content

RequestOptions

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  2783700782["base.RequestOptions"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2783700782
  2751680898 --> 2645524081

🛈 DocStrings

Bases: AuthOptions

Per-request options, also accepted by the methods of an HttpSession.

Source code in src/anyenv/download/base.py
class RequestOptions(AuthOptions):
    """Per-request options, also accepted by the methods of an `HttpSession`."""

    params: NotRequired[ParamsType | None]
    headers: NotRequired[HeaderType | None]
    timeout: NotRequired[float | None]

:fa-brands-github: Show source on GitHub