Skip to content
YosoiDocs

Documents

yosoi.policy.Documents

class Documents(Model):

Retained-payload parsing resource limits.

Attributes: max_input_bytes: Positive addressable input payload bytes accepted for parsing. max_nodes: Positive maximum parsed node count. max_depth: Positive maximum parse/tree depth.

Source: python/yosoi/policy.py:415

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

max_input_bytes: AddressableByteLimitValue = _field('documents', 'max_input_bytes')
max_nodes: CountLimitValue = _field('documents', 'max_nodes')
max_depth: StepLimitValue = _field('documents', 'max_depth')