Skip to content
YosoiDocs

ProfileSelection

yosoi.policy.ProfileSelection

class ProfileSelection(Model):

Current provider defaults or an explicit complete request profile.

Attributes: kind: current resolves package registry metadata; exact retains an authored profile. profile: None for current selection, required complete profile for exact selection.

Source: python/yosoi/policy.py:597

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

kind: ProfileSelectionKind = 'current'
profile: ProviderRequestProfile | None = Field(default=None, exclude_if=lambda value: value is None)