roboto.http.requester
Module Contents
ROBOTO_REQUESTER_HEADER
A JSON serialized RobotoRequester representing the entity making a request to Roboto.
RobotoRequester
Bases: pydantic.BaseModel
Details about the entity making a request to Roboto. These are embedded in a header in order to see what tool versions / operating systems are making requests, and to aid debugging.
Parameters
data AnyRobotoRequester.for_tool()
Called to intelligently populate a RobotoRequester for a request made from a named Roboto tool using the Python SDK.
Parameters
tool RobotoToolReturn type
Attributes
RobotoRequester.platform
The environment in which a request is being made, i.e. the user agent (for browser requests) or the results of platform.platform (for SDK requests)
RobotoRequester.roboto_tool
If a request is being made from a Roboto vended tool, the name of the tool
RobotoRequester.roboto_tool_details
If a request is being made from a Roboto vended tool, free text pertinent details about the tool
RobotoRequester.roboto_tool_version
If a request is being made from a Roboto vended tool, the version of the tool
RobotoRequester.schema_version
Roboto Requester payload schema version, used to ensure backward compatibility