Skip to main content

request

Returns a dictionary containing the provided request object.

def request(
request: Any
) - > dict

Wraps a request object into a dictionary for structured data handling.

Parameters

NameTypeDescription
requestAnyThe request object or data structure to be encapsulated

Returns

TypeDescription
dictA dictionary containing the original request object mapped to the key "request"