Raw Types¶
Types used by spawner parse() and hatcher render() methods.
Spawner output¶
- class ParseResult(/, **data: typing.Any)¶
Bases:
pydantic.BaseModelOutput of
spawner.parse(): structured records from redacted files.Spawners produce this after receiving pre-redacted file contents. No secrets, no raw_artifacts, no source_type: those are pipeline concerns.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- skills: list[pynydus.api.raw_types.RawSkill]¶
‘Field(…)’
- memory: list[pynydus.api.raw_types.RawMemory]¶
‘Field(…)’
- class RawSkill(/, **data: typing.Any)¶
Bases:
pydantic.BaseModelA skill extracted verbatim from a source platform.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.
- class RawMemory(/, **data: typing.Any)¶
Bases:
pydantic.BaseModelA single memory snippet extracted from a source platform.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- label: pynydus.common.enums.MemoryLabel | None¶
None
Optional label hint from the spawner (e.g. MemoryLabel.PERSONA).
- timestamp: datetime.datetime | None¶
None
Optional timestamp from source data.
Hatcher output¶
- class RenderResult(/, **data: typing.Any)¶
Bases:
pydantic.BaseModelOutput of
hatcher.render(): target file contents from Egg records.Hatchers produce this from an Egg. Files contain
{{SECRET_NNN}}and{{PII_NNN}}placeholders. the pipeline substitutes real values at the secrets-IN boundary.Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.