Skip to content
YosoiDocs

LocalPack

yosoi.search.LocalPack

class LocalPack(ImmutableModel):

A provider-displayed collection of local places and an optional map.

Attributes: kind: Discriminator fixed to local_pack for tagged decoding. placement_index: One-based position of the pack among provider-page placements. places: Provider-reported places, without independent business verification. map_url: Validated map destination, or None when unavailable.

Source: python/yosoi/search.py:299

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

kind: Literal['local_pack']
placement_index: Rank
places: tuple[LocalPlace, ...] = Field(repr=False)
map_url: SearchResultUrl | None = Field(repr=False)