core.requester
Requester object to make HTTP requests to the Jobmon Flask services.
Attributes
Classes
Requester object to make HTTP requests to the Jobmon Flask services. |
Functions
|
Return True if HTTP return codes that are deemed ok. |
|
Parse the response. |
Module Contents
- core.requester.http_request_ok(status_code: int) bool[source]
Return True if HTTP return codes that are deemed ok.
- class core.requester.Requester(url: str, route_prefix: str = '', request_timeout: int = 20, retries_timeout: int = 300, retries_attempts: int = 10, use_otlp: bool = False)[source]
Bases:
objectRequester object to make HTTP requests to the Jobmon Flask services.