spec
๐ค AI-Generated Content
This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.
flavor.psp.format_2025.spec
¶
PSPF Build Specification - Immutable data structures for package building.
This module defines the core data structures used throughout the PSPF builder system, emphasizing immutability and functional programming patterns.
Classes¶
BuildOptions
¶
Immutable build options controlling package generation.
These options affect how the package is built but not what goes into it.
Functions¶
with_compression
¶
Return new BuildOptions with updated compression settings.
Source code in flavor/psp/format_2025/spec.py
BuildResult
¶
Immutable result from a build operation.
Contains success status, errors, warnings, and metadata about the build.
BuildSpec
¶
Immutable build specification containing all information needed to build a package.
This is the central data structure that flows through the build process.
Functions¶
has_required_metadata
¶
Check if required metadata fields are present.
Source code in flavor/psp/format_2025/spec.py
replace_slots
¶
Return new BuildSpec with replaced slot list.
Completely replaces the existing slots.
with_keys
¶
with_metadata
¶
Return new BuildSpec with updated metadata.
Merges provided kwargs with existing metadata.
Source code in flavor/psp/format_2025/spec.py
with_options
¶
with_slot
¶
Return new BuildSpec with additional slot.
Appends the slot to the existing list.
with_slots
¶
Return new BuildSpec with multiple additional slots.
Appends all provided slots to the existing list.