IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python class

RequestStateGroup

RequestStateGroup​

class max.pipelines.lib.request_state.RequestStateGroup(*args, **kwargs)

source

Bases: GraphGroup[str, tuple[Any, …]]

A graph-API decoder’s state inputs, or the state outputs it writes back.

Its one entry, state, holds them in the order the decoder’s RequestStateStore declares, so a serving engine finds them by kind.

Creates the group, rejecting a subclass with no kind.

Parameters:

Return type:

Self

kind​

kind: ClassVar[str | None] = 'request_state'

source

Identifies the feature wherever the group sits in a tree.