Types
Generated from yosoi
v0.0.1a11. Only symbols in__all__are listed.
Author
Author(description: str = ..., kwargs: Any = {}) -> Any
BodyText
BodyText(description: str = ..., kwargs: Any = {}) -> Any
Datetime
Datetime(description: str = ..., assume_utc: bool = ..., past_only: bool = ..., as_iso: bool = ..., kwargs: Any = {}) -> Any
Field
Field(frozen: bool = False, selector: str | None = None, delimiter: str | None = None, **kwargs: Any) -> Any
Yosoi-aware Field wrapper that stores discovery guidance in json_schema_extra. Args:
frozenbool— If True, marks the field as frozen (selector won’t be re-discovered).selectorstr | None— Optional CSS selector override. When set, AI discovery is skipped for this field and the provided selector is used directly.delimiterstr | None— Optional regex pattern for splitting delimited strings in list fields. Defaults to comma/semicolon/and splitting when not set.descriptionstr | None— Optional keyword argument forwarded to pydantic.Field and used as AI selector-discovery guidance.**kwargsAny— Additional arguments forwarded to pydantic.Field.
Returns: Any — A pydantic FieldInfo with Yosoi-specific metadata in json_schema_extra.
Price
Price(description: str = ..., currency_symbol: str | None = ..., require_decimals: bool = ..., kwargs: Any = {}) -> Any
Rating
Rating(description: str = ..., as_float: bool = ..., scale: int = ..., kwargs: Any = {}) -> Any
Title
Title(description: str = ..., kwargs: Any = {}) -> Any
Url
Url(description: str = ..., require_https: bool = ..., strip_tracking: bool = ..., kwargs: Any = {}) -> Any