Attention
This project is still in an early phase of development.
The python API is not yet stable, and some aspects of the schema for the blueprint and workplan will likely evolve. Therefore whilst you are welcome to try out using the package, we cannot yet guarantee backwards compatibility. We expect to reach a more stable version in 2026.
VersionedResource#
- class cstar.orchestration.models.VersionedResource(*, location: Annotated[Path, PathType(path_type=file)] | HttpUrl | str, partitioned: bool = False, hash: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=None, pattern=None, ascii_only=None)], **extra_data: Any)#
Bases:
ResourceA physical asset that is used as an input or configuration and has an associated hash used to identify a specific version.
Attributes
VersionedResource.hashExpected hash of the file.
VersionedResource.locationLocation of the file to retrieve.
VersionedResource.partitionedFlag indicating whether the resource is pre-partitioned.