DocumentSelection
yosoi.policy.DocumentSelection
class DocumentSelection(Model):
Current or explicit document outputs for one acquisition.
Attributes: kind: current resolves package defaults; exact retains an authored output selection. documents: None for current selection; an explicit bounded tuple for exact selection, including an intentionally empty tuple.
Source: python/yosoi/policy.py:190
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”kind: DocumentSelectionKind = 'current'
documents: Annotated[tuple[DocumentRequest, ...], Field(max_length=4)] | None = Field(default=None, exclude_if=lambda value: value is None)