Skip to content
YosoiDocs

EffectiveProviderRoute

yosoi.policy.EffectiveProviderRoute

class EffectiveProviderRoute(ImmutableModel):

Resolved provider profile with its default-selection provenance.

Attributes: provider: Provider occupying the authored search slot. profile: Resolved child profile, absent when unavailable. profile_selection_kind: Current defaults or an exact authored declaration. defaults_status: Certification/availability or exact-profile provenance.

Source: python/yosoi/policy.py:991

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

provider: Provider
profile: ProviderRequestProfile | None
profile_selection_kind: Literal['current', 'exact']
defaults_status: ProviderDefaultsStatus
@property
def page(self) -> Page | None:

Return acquisition/output settings, or None when unavailable.

Source: python/yosoi/policy.py:1007

@property
def request(self) -> Request | None:

Return timing/evidence settings, or None when unavailable.

Source: python/yosoi/policy.py:1017

@property
def documents(self) -> Documents | None:

Return a retained-document parsing profile copy, or None when unavailable.

Source: python/yosoi/policy.py:1027

@property
def defaults_version(self) -> ProviderDefaultsVersion | None:

Return the defaults version, absent for exact or unavailable profiles.

Source: python/yosoi/policy.py:1037