Source code for cadrumo.application.workflow.profile_bucket_models
"""Leaf records shared by workflow state and profile-bucket scanning."""from__future__importannotationsfrompydanticimportBaseModelfrom...core.identity.bucketimportBucketIdfrom...core.identity.profile_labelimportProfileLabelfrom...core.modelsimportSTRICT_FROZEN_CONFIGas_STRICT_FROZEN
[docs]classProfileBucketPointer(BaseModel):"""Pointer to a secure profile bucket and its operator-facing label. Both identity fields carry the shared core constraint the bucket manifest persists them under, so the projection from a manifest to this pointer cannot fail on a value the manifest accepted. """model_config=_STRICT_FROZENbucket_id:BucketIdlabel:ProfileLabel