Source code for rootski.schemas.search from typing import List, Literal from pydantic import BaseModel [docs]class SearchWord(BaseModel): word: str word_id: str frequency: int pos: Literal["deprecated"] [docs]class SearchResponse(BaseModel): words: List[SearchWord]