class qveris.ExecutionRestrictions(*, callable: bool, eligibility: Literal['unknown', 'not_required', 'required', 'restricted'], license: Literal['unknown', 'not_required', 'required', 'approved', 'restricted'], regions: RegionRestrictions, commercial_use: Literal['unknown', 'allowed', 'conditional', 'prohibited'], data_as_of: str | None = None, warnings: List[str], technical: Literal['unknown', 'ready', 'blocked'] | None = None, authentication: Literal['unknown', 'ready', 'required', 'blocked'] | None = None, region_status: Literal['unknown', 'ready', 'conditional', 'blocked'] | None = None, freshness: Literal['unknown', 'fresh', 'stale', 'failed'] | None = None, price_certainty: Literal['unknown', 'estimated', 'exact'] | None = None, confidence: float | None = None, allowed_actions: List[str] | None = None, blocked_actions: List[str] | None = None, next_action: str | None = None, retryable: bool | None = None, **extra_data: Any)
model_post_init(context: Any, /) → None
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that's what pydantic-core passes when calling it.
- 参数:
- self -- The BaseModel instance.
- context -- The context.
