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.
CodeRepository#
- class cstar.orchestration.models.CodeRepository(*, documentation: str = '', locked: bool = False, location: HttpUrl | str, commit: str = '', branch: str = '', filter: PathFilter | None = None)#
Bases:
DocLocMixin,ConfiguredBaseModelReference to a remote code repository with optional path filtering and point-in-time specification.
Attributes
CodeRepository.checkout_targetReturn the commit if specified, else the branch
CodeRepository.locationLocation of the remote code repository.
CodeRepository.commitA specific commit to be used.
CodeRepository.branchA specific branch to be used.
CodeRepository.filterA filter specifying the files to be retrieved and persisted from the repository.
CodeRepository.documentationDescription of input data provenance; used in provenance roll-up.
CodeRepository.lockedMutability of the parameter set.