Skip to content
YosoiDocs

TextWithCaptures

yosoi.outcomes.TextWithCaptures

class TextWithCaptures(ImmutableModel):

Tagged text projection with named regular-expression captures.

Attributes: kind: Discriminator fixed to text_with_captures for tagged decoding. value: Full projected text paired with its named capture values.

Source: python/yosoi/outcomes.py:593

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

kind: Literal['text_with_captures']
value: CapturedText