Python class
RequestType
RequestType
class max.pipelines.request.RequestType
Type variable for request types.
This TypeVar is bound to the Request protocol, ensuring that any type used with this variable must satisfy the Request protocol interface (have a request_id attribute and __str__ method). It is contravariant to allow protocols that accept requests to work with more specific request types.
alias of TypeVar(‘RequestType’, bound=Request, contravariant=True)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!