SYMBOL INDEX (460 symbols across 56 files) FILE: bump_npm.py function replace_package_json (line 9) | def replace_package_json(package_json: Path, new_version: str, deps: boo... function main (line 20) | def main(): FILE: demo/__init__.py function lifespan (line 22) | async def lifespan(app_: FastAPI): function robots_txt (line 45) | async def robots_txt() -> str: function favicon_ico (line 50) | async def favicon_ico() -> str: function html_landing (line 55) | async def html_landing() -> HTMLResponse: FILE: demo/auth.py function get_github_auth (line 30) | async def get_github_auth(request: Request) -> GitHubAuthProvider: function auth_login (line 45) | def auth_login( function auth_login_content (line 80) | def auth_login_content(kind: LoginKind) -> list[AnyComponent]: class LoginForm (line 105) | class LoginForm(BaseModel): function login_form_post (line 117) | async def login_form_post(form: Annotated[LoginForm, fastui_form(LoginFo... function profile (line 124) | async def profile(user: Annotated[User, Depends(User.from_request)]) -> ... function logout_form_post (line 141) | async def logout_form_post() -> list[AnyComponent]: function auth_github_gen (line 146) | async def auth_github_gen(github_auth: Annotated[GitHubAuthProvider, Dep... function github_redirect (line 152) | async def github_redirect( FILE: demo/auth_user.py class User (line 15) | class User: method encode_token (line 19) | def encode_token(self) -> str: method from_request (line 25) | def from_request(cls, authorization: Annotated[str, Header()] = '') ->... method from_request_opt (line 33) | def from_request_opt(cls, authorization: Annotated[str, Header()] = ''... class CustomJsonEncoder (line 51) | class CustomJsonEncoder(json.JSONEncoder): method default (line 52) | def default(self, obj: Any) -> Any: FILE: demo/components_list.py function panel (line 15) | def panel(*components: AnyComponent) -> AnyComponent: function components_view (line 20) | def components_view() -> list[AnyComponent]: function modal_view (line 304) | async def modal_view() -> list[AnyComponent]: function modal_form_submit (line 310) | async def modal_form_submit() -> list[AnyComponent]: function modal_prompt_submit (line 316) | async def modal_prompt_submit() -> list[AnyComponent]: FILE: demo/forms.py function search_view (line 23) | async def search_view(request: Request, q: str) -> SelectSearchResponse: function forms_view (line 49) | def forms_view(kind: FormKind) -> list[AnyComponent]: function form_content (line 82) | def form_content(kind: FormKind): class LoginForm (line 106) | class LoginForm(BaseModel): function login_form_post (line 112) | async def login_form_post(form: Annotated[LoginForm, fastui_form(LoginFo... class ToolEnum (line 117) | class ToolEnum(str, enum.Enum): class SelectForm (line 124) | class SelectForm(BaseModel): method correct_select_multiple (line 132) | def correct_select_multiple(cls, v: list[str]) -> list[str]: function select_form_post (line 140) | async def select_form_post(form: Annotated[SelectForm, fastui_form(Selec... class SizeModel (line 145) | class SizeModel(BaseModel): class BigModel (line 150) | class BigModel(BaseModel): method name_validator (line 174) | def name_validator(cls, v: str | None) -> str: function big_form_post (line 181) | async def big_form_post(form: Annotated[BigModel, fastui_form(BigModel)]): FILE: demo/main.py function api_index (line 13) | def api_index() -> list[AnyComponent]: function api_404 (line 52) | async def api_404(): FILE: demo/shared.py function demo_page (line 8) | def demo_page(*components: AnyComponent, title: str | None = None) -> li... FILE: demo/sse.py function canned_ai_response_generator (line 13) | async def canned_ai_response_generator() -> AsyncIterable[str]: function sse_ai_response (line 24) | async def sse_ai_response() -> StreamingResponse: function run_openai (line 28) | async def run_openai(): FILE: demo/tables.py class City (line 18) | class City(BaseModel): function cities_list (line 33) | def cities_list() -> list[City]: function cities_lookup (line 42) | def cities_lookup() -> dict[id, City]: class FilterForm (line 46) | class FilterForm(pydantic.BaseModel): function cities_view (line 51) | def cities_view(page: int = 1, country: str | None = None) -> list[AnyCo... function city_view (line 84) | def city_view(city_id: int) -> list[AnyComponent]: class User (line 94) | class User(BaseModel): function users_view (line 110) | def users_view() -> list[AnyComponent]: function tabs (line 126) | def tabs() -> list[AnyComponent]: function user_profile (line 148) | def user_profile(id: int) -> list[AnyComponent]: FILE: demo/tests.py function client (line 11) | def client(): function test_index (line 16) | def test_index(client: TestClient): function test_api_root (line 23) | def test_api_root(client: TestClient): function get_menu_links (line 56) | def get_menu_links(): function test_menu_links (line 70) | def test_menu_links(client: TestClient, url: str): FILE: docs/plugins.py function on_pre_build (line 16) | def on_pre_build(config: Config): function on_files (line 20) | def on_files(files: Files, config: Config) -> Files: function remove_files (line 24) | def remove_files(files: Files) -> Files: function on_page_markdown (line 38) | def on_page_markdown(markdown: str, page: Page, config: Config, files: F... function add_version (line 43) | def add_version(markdown: str, page: Page) -> str: function remove_code_fence_attributes (line 60) | def remove_code_fence_attributes(markdown: str) -> str: FILE: src/npm-fastui-bootstrap/src/pagination.tsx type Link (line 4) | interface Link { FILE: src/npm-fastui-prebuilt/src/App.tsx function App (line 5) | function App() { function getMetaContent (line 19) | function getMetaContent(name: string): string | undefined { constant COWSAY (line 50) | const COWSAY = ` {above} FILE: src/npm-fastui/src/components/FormField.tsx type PrivateOnChange (line 20) | type PrivateOnChange = () => void type FormFieldInputProps (line 22) | interface FormFieldInputProps extends FormFieldInput { type FormFieldTextareaProps (line 50) | interface FormFieldTextareaProps extends FormFieldTextarea { type FormFieldBooleanProps (line 77) | interface FormFieldBooleanProps extends FormFieldBoolean { type FormFieldFileProps (line 103) | interface FormFieldFileProps extends FormFieldFile { type FormFieldSelectProps (line 134) | interface FormFieldSelectProps extends FormFieldSelect { function findDefaultArray (line 234) | function findDefaultArray(options: SelectOptions, value: string[]): Sele... function findDefault (line 239) | function findDefault(options: SelectOptions, value?: string): SelectOpti... type FormFieldSelectSearchProps (line 252) | interface FormFieldSelectSearchProps extends FormFieldSelectSearch { type FormFieldProps (line 328) | type FormFieldProps = FILE: src/npm-fastui/src/components/MarkdownLazy.tsx method a (line 16) | a({ children, href }) { method code (line 19) | code({ children, className }) { type MarkdownCodeProps (line 74) | interface MarkdownCodeProps { type MarkdownCodeHighlightProps (line 93) | interface MarkdownCodeHighlightProps { FILE: src/npm-fastui/src/components/ServerLoad.tsx type DeferProps (line 37) | interface DeferProps { type FetchProps (line 64) | interface FetchProps { type SSEProps (line 116) | interface SSEProps { function useServerUrl (line 159) | function useServerUrl(path: string): string { function getFragment (line 174) | function getFragment(path: string): string | undefined { FILE: src/npm-fastui/src/components/display.tsx type DisplayArrayProps (line 72) | interface DisplayArrayProps { type DisplayObjectProps (line 91) | interface DisplayObjectProps { type JSONPrimitive (line 110) | type JSONPrimitive = string | number | boolean | null type DisplayPrimitiveProps (line 112) | interface DisplayPrimitiveProps { type DataModel (line 236) | type DataModel = Record type DisplayLookupProps (line 238) | interface DisplayLookupProps extends Omit { function renderEvent (line 243) | function renderEvent(event: AnyEvent | undefined, data: DataModel): AnyE... FILE: src/npm-fastui/src/components/form.tsx type Loc (line 152) | type Loc = (string | number)[] type Error (line 153) | interface Error { type ErrorResponse (line 159) | interface ErrorResponse { function locToName (line 166) | function locToName(loc: Loc): string { FILE: src/npm-fastui/src/components/heading.tsx function getComponent (line 14) | function getComponent(level: 1 | 2 | 3 | 4 | 5 | 6): FC<{ text: string; ... FILE: src/npm-fastui/src/components/index.tsx type FastClassNameProps (line 84) | type FastClassNameProps = Exclude void } { type LoadEventDetail (line 76) | interface LoadEventDetail { function fireLoadEvent (line 81) | function fireLoadEvent(detail: LoadEventDetail) { type EventDetails (line 85) | interface EventDetails { function usePageEventListen (line 91) | function usePageEventListen(event?: PageEvent, initialContext: ContextTy... FILE: src/npm-fastui/src/hooks/className.ts type ClassNameGeneratorArgs (line 8) | interface ClassNameGeneratorArgs { type ClassNameGenerator (line 14) | type ClassNameGenerator = (args: ClassNameGeneratorArgs) => ClassName | ... type UseClassNameExtra (line 17) | interface UseClassNameExtra { function useClassName (line 30) | function useClassName(props: FastClassNameProps, extra?: UseClassNameExt... function combineClassNameProp (line 65) | function combineClassNameProp(classNameProp?: ClassName): boolean { function combine (line 81) | function combine(cn1?: ClassName, cn2?: ClassName): string { function renderClassName (line 95) | function renderClassName(className?: ClassName): string { FILE: src/npm-fastui/src/hooks/config.ts type Config (line 6) | type Config = Omit FILE: src/npm-fastui/src/hooks/locationContext.tsx function parseLocation (line 7) | function parseLocation(): string { type LocationState (line 13) | interface LocationState { function LocationProvider (line 36) | function LocationProvider({ children }: { children: ReactNode }) { function pathMatch (line 139) | function pathMatch(matchPath: string | boolean | undefined, fullPath: st... function stripQuery (line 157) | function stripQuery(fullPath: string): string { function getQuery (line 166) | function getQuery(fullPath: string): URLSearchParams { FILE: src/npm-fastui/src/index.tsx type CustomRender (line 19) | type CustomRender = (props: FastProps) => FC | void type FastUIProps (line 21) | interface FastUIProps { function FastUI (line 35) | function FastUI(props: FastUIProps) { FILE: src/npm-fastui/src/models.d.ts type FastProps (line 7) | type FastProps = type ClassName (line 44) | type ClassName = type JsonData (line 50) | type JsonData = type AnyEvent (line 59) | type AnyEvent = PageEvent | GoToEvent | BackEvent | AuthEvent type DisplayMode (line 63) | type DisplayMode = type DisplayMode1 (line 77) | type DisplayMode1 = type SelectOptions (line 88) | type SelectOptions = SelectOption[] | SelectGroup[] type Text (line 93) | interface Text { type Paragraph (line 100) | interface Paragraph { type PageTitle (line 113) | interface PageTitle { type Div (line 120) | interface Div { type Page (line 133) | interface Page { type Heading (line 146) | interface Heading { type Markdown (line 161) | interface Markdown { type Code (line 175) | interface Code { type Json (line 190) | interface Json { type Button (line 203) | interface Button { type PageEvent (line 216) | interface PageEvent { type ContextType (line 224) | interface ContextType { type GoToEvent (line 227) | interface GoToEvent { type BackEvent (line 235) | interface BackEvent { type AuthEvent (line 238) | interface AuthEvent { type Link (line 246) | interface Link { type LinkList (line 263) | interface LinkList { type Navbar (line 277) | interface Navbar { type Footer (line 293) | interface Footer { type Modal (line 307) | interface Modal { type PageEvent1 (line 321) | interface PageEvent1 { type ContextType1 (line 329) | interface ContextType1 { type ServerLoad (line 335) | interface ServerLoad { type PageEvent2 (line 344) | interface PageEvent2 { type Image (line 355) | interface Image { type Iframe (line 382) | interface Iframe { type Video (line 400) | interface Video { type FireEvent (line 420) | interface FireEvent { type Error (line 428) | interface Error { type Spinner (line 444) | interface Spinner { type Custom (line 457) | interface Custom { type Table (line 472) | interface Table { type DataModel (line 484) | interface DataModel { type DisplayLookup (line 490) | interface DisplayLookup { type Pagination (line 500) | interface Pagination { type Display (line 517) | interface Display { type Details (line 527) | interface Details { type Form (line 541) | interface Form { type PageEvent3 (line 568) | interface PageEvent3 { type FormFieldInput (line 579) | interface FormFieldInput { type FormFieldTextarea (line 602) | interface FormFieldTextarea { type FormFieldBoolean (line 626) | interface FormFieldBoolean { type FormFieldFile (line 647) | interface FormFieldFile { type FormFieldSelect (line 668) | interface FormFieldSelect { type SelectOption (line 690) | interface SelectOption { type SelectGroup (line 694) | interface SelectGroup { type FormFieldSelectSearch (line 701) | interface FormFieldSelectSearch { type SelectOption1 (line 722) | interface SelectOption1 { type ModelForm (line 729) | interface ModelForm { type PageEvent4 (line 756) | interface PageEvent4 { type Toast (line 767) | interface Toast { type PageEvent5 (line 790) | interface PageEvent5 { type ContextType2 (line 798) | interface ContextType2 { FILE: src/npm-fastui/src/tools.ts constant AUTH_TOKEN_KEY (line 6) | const AUTH_TOKEN_KEY = 'fastui-auth-token' type Method (line 7) | type Method = 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' function useRequest (line 9) | function useRequest(): (args: RequestArgs) => Promise<[number, any]> { type RequestArgs (line 30) | interface RequestArgs { function request (line 41) | async function request({ function useSSE (line 101) | function useSSE(url: string, onMessage: (data: any) => void, method?: Me... class SSERetryError (line 166) | class SSERetryError extends Error {} class SSEStopError (line 167) | class SSEStopError extends Error {} class RequestError (line 169) | class RequestError extends Error { method constructor (line 172) | constructor(message: string, status: number) { function responseOk (line 179) | function responseOk(response: Response, expectedStatus?: number[]) { function unreachable (line 187) | function unreachable(msg: string, unexpectedValue: never, args?: any) { type Callable (line 191) | type Callable = (...args: any[]) => void function debounce (line 193) | function debounce(fn: C, delay: number): C { function sleep (line 203) | async function sleep(ms: number): Promise { function getAuthHeader (line 219) | function getAuthHeader(): { key: string; value: string } | undefined { function checkResponse (line 227) | async function checkResponse(url: string, response: Response, expectedSt... FILE: src/python-fastui/fastui/__init__.py class FastUI (line 11) | class FastUI(pydantic.RootModel): method coerce_to_list (line 19) | def coerce_to_list(cls, v): function prebuilt_html (line 30) | def prebuilt_html( FILE: src/python-fastui/fastui/__main__.py function cli (line 7) | def cli(): FILE: src/python-fastui/fastui/auth/github.py class GitHubExchangeError (line 20) | class GitHubExchangeError: class GitHubExchange (line 26) | class GitHubExchange: method check_scope (line 32) | def check_scope(cls, v: str) -> list[str]: class GithubUser (line 39) | class GithubUser(BaseModel): class GitHubEmail (line 58) | class GitHubEmail(BaseModel): class GitHubAuthProvider (line 68) | class GitHubAuthProvider: method __init__ (line 73) | def __init__( method create (line 112) | async def create( method authorization_url (line 136) | async def authorization_url(self) -> str: method exchange_code (line 149) | async def exchange_code(self, code: str, state: str | None = None) -> ... method _exchange_code (line 167) | async def _exchange_code(self, code: str, state: str | None = None) ->... method get_github_user (line 197) | async def get_github_user(self, exchange: GitHubExchange) -> GithubUser: method get_github_user_emails (line 206) | async def get_github_user_emails(self, exchange: GitHubExchange) -> li... method _auth_headers (line 216) | def _auth_headers(exchange: GitHubExchange) -> dict[str, str]: class ExchangeCache (line 223) | class ExchangeCache: method __init__ (line 224) | def __init__(self): method get (line 227) | def get(self, key: str, max_age: timedelta) -> GitHubExchange | None: method set (line 232) | def set(self, key: str, value: GitHubExchange) -> None: method _purge (line 235) | def _purge(self, max_age: timedelta) -> None: method __len__ (line 244) | def __len__(self) -> int: method clear (line 247) | def clear(self) -> None: class StateProvider (line 255) | class StateProvider: method __init__ (line 262) | def __init__(self, secret: SecretStr, max_age: timedelta = timedelta(m... method new_state (line 266) | async def new_state(self) -> str: method check_state (line 272) | async def check_state(self, state: str) -> bool: FILE: src/python-fastui/fastui/auth/shared.py class AuthException (line 14) | class AuthException(ABC, Exception): method response_data (line 20) | def response_data(self) -> tuple[int, str]: class AuthError (line 24) | class AuthError(AuthException): method __init__ (line 25) | def __init__(self, message: str, *, code: str): method response_data (line 29) | def response_data(self) -> tuple[int, str]: class AuthRedirect (line 33) | class AuthRedirect(AuthException): method __init__ (line 39) | def __init__(self, path: str, message: str | None = None): method response_data (line 44) | def response_data(self) -> tuple[int, str]: function fastapi_auth_exception_handling (line 49) | def fastapi_auth_exception_handling(app: 'FastAPI') -> None: FILE: src/python-fastui/fastui/base.py class BaseModel (line 6) | class BaseModel(_BaseModel): FILE: src/python-fastui/fastui/components/__init__.py class Text (line 74) | class Text(BaseModel, extra='forbid'): class Paragraph (line 84) | class Paragraph(BaseModel, extra='forbid'): class PageTitle (line 97) | class PageTitle(BaseModel, extra='forbid'): class Div (line 107) | class Div(BaseModel, defer_build=True, extra='forbid'): class Page (line 120) | class Page(BaseModel, defer_build=True, extra='forbid'): class Heading (line 133) | class Heading(BaseModel, extra='forbid'): method __get_pydantic_json_schema__ (line 152) | def __get_pydantic_json_schema__( class Markdown (line 175) | class Markdown(BaseModel, extra='forbid'): class Code (line 191) | class Code(BaseModel, extra='forbid'): class Json (line 210) | class Json(BaseModel, extra='forbid'): class Button (line 223) | class Button(BaseModel, extra='forbid'): class Link (line 245) | class Link(BaseModel, defer_build=True, extra='forbid'): class LinkList (line 270) | class LinkList(BaseModel, extra='forbid'): class Navbar (line 286) | class Navbar(BaseModel, extra='forbid'): method __get_pydantic_json_schema__ (line 308) | def __get_pydantic_json_schema__( class Footer (line 318) | class Footer(BaseModel, extra='forbid'): class Modal (line 334) | class Modal(BaseModel, defer_build=True, extra='forbid'): class ServerLoad (line 359) | class ServerLoad(BaseModel, defer_build=True, extra='forbid'): class Image (line 384) | class Image(BaseModel, extra='forbid'): class Iframe (line 426) | class Iframe(BaseModel, extra='forbid'): class Video (line 454) | class Video(BaseModel, extra='forbid'): class FireEvent (line 488) | class FireEvent(BaseModel, extra='forbid'): class Error (line 501) | class Error(BaseModel, extra='forbid'): method __get_pydantic_json_schema__ (line 520) | def __get_pydantic_json_schema__( class Spinner (line 530) | class Spinner(BaseModel, extra='forbid'): class Toast (line 543) | class Toast(BaseModel, defer_build=True, extra='forbid'): class Custom (line 579) | class Custom(BaseModel, extra='forbid'): FILE: src/python-fastui/fastui/components/display.py class DisplayMode (line 18) | class DisplayMode(str, enum.Enum): class DisplayBase (line 33) | class DisplayBase(BaseModel, ABC): class DisplayLookup (line 46) | class DisplayLookup(DisplayBase, extra='forbid'): class Display (line 56) | class Display(DisplayBase, extra='forbid'): class Details (line 66) | class Details(BaseModel, extra='forbid'): method _fill_fields (line 82) | def _fill_fields(self) -> _te.Self: method __get_pydantic_json_schema__ (line 99) | def __get_pydantic_json_schema__( FILE: src/python-fastui/fastui/components/forms.py class BaseFormField (line 18) | class BaseFormField(BaseModel, ABC, defer_build=True): class FormFieldInput (line 46) | class FormFieldInput(BaseFormField): class FormFieldTextarea (line 65) | class FormFieldTextarea(BaseFormField): class FormFieldBoolean (line 87) | class FormFieldBoolean(BaseFormField): class FormFieldFile (line 100) | class FormFieldFile(BaseFormField): class FormFieldSelect (line 113) | class FormFieldSelect(BaseFormField): class FormFieldSelectSearch (line 138) | class FormFieldSelectSearch(BaseFormField): class BaseForm (line 167) | class BaseForm(BaseModel, ABC, defer_build=True, extra='forbid'): method default_footer (line 198) | def default_footer(self) -> _te.Self: class Form (line 204) | class Form(BaseForm, defer_build=True): class ModelForm (line 221) | class ModelForm(BaseForm, defer_build=True): method form_fields (line 231) | def form_fields(self) -> list[FormField]: FILE: src/python-fastui/fastui/components/tables.py class Table (line 20) | class Table(BaseModel, extra='forbid'): method _fill_columns (line 42) | def _fill_columns(self) -> _te.Self: method __get_pydantic_json_schema__ (line 65) | def __get_pydantic_json_schema__( class Pagination (line 75) | class Pagination(BaseModel): method page_count (line 97) | def page_count(self) -> int: FILE: src/python-fastui/fastui/dev.py function dev_fastapi_app (line 15) | def dev_fastapi_app(reload_path: str = '/api/__dev__/reload', **fastapi_... class DevReload (line 23) | class DevReload: method __init__ (line 24) | def __init__(self, default_lifespan: types.Lifespan[FastAPI] | None): method lifespan (line 29) | async def lifespan(self, app: FastAPI): method dev_reload_endpoints (line 37) | async def dev_reload_endpoints(self): method _on_signal (line 40) | def _on_signal(self, *_args: _t.Any): method ping (line 44) | async def ping(self): FILE: src/python-fastui/fastui/events.py class PageEvent (line 11) | class PageEvent(BaseModel, defer_build=True): class GoToEvent (line 20) | class GoToEvent(BaseModel): class BackEvent (line 28) | class BackEvent(BaseModel): class AuthEvent (line 32) | class AuthEvent(BaseModel): FILE: src/python-fastui/fastui/forms.py class FastUIForm (line 27) | class FastUIForm(_t.Generic[FormModel]): method __class_getitem__ (line 32) | def __class_getitem__(cls, model: type[FormModel]) -> fastapi_params.D... function fastui_form (line 36) | def fastui_form(model: type[FormModel]) -> fastapi_params.Depends: class FormFile (line 52) | class FormFile: method __init__ (line 55) | def __init__(self, accept: str | None = None, max_size: int | None = N... method validate_single (line 59) | def validate_single(self, input_value: _t.Any) -> ds.UploadFile: method validate_multiple (line 67) | def validate_multiple(self, input_value: _t.Any) -> list[ds.UploadFile]: method _validate_file (line 73) | def _validate_file(self, file: ds.UploadFile) -> None: method __get_pydantic_core_schema__ (line 120) | def __get_pydantic_core_schema__(self, source_type: type[_t.Any], *_ar... method __get_pydantic_json_schema__ (line 130) | def __get_pydantic_json_schema__(self, core_schema_: core_schema.CoreS... method __repr__ (line 142) | def __repr__(self): function get_content_type (line 149) | def get_content_type(file: ds.UploadFile) -> str | None: class SelectOption (line 156) | class SelectOption(_te.TypedDict): class SelectGroup (line 161) | class SelectGroup(_te.TypedDict): class SelectSearchResponse (line 169) | class SelectSearchResponse(pydantic.BaseModel): function unflatten (line 176) | def unflatten(form_data: ds.FormData) -> NestedDict: function name_to_loc (line 218) | def name_to_loc(name: str) -> 'json_schema.SchemeLocation': function Textarea (line 232) | def Textarea(rows: int | None = None, cols: int | None = None) -> _t.Any... FILE: src/python-fastui/fastui/generate_typescript.py function main (line 13) | def main(python_object_str: str, typescript_output_file: Path): # pragm... function generate_json_schema (line 24) | def generate_json_schema(root_model: Any) -> JsonSchemaValue: class CustomGenerateJsonSchema (line 51) | class CustomGenerateJsonSchema(GenerateJsonSchema): method field_title_should_be_set (line 52) | def field_title_should_be_set(self, schema) -> bool: method default_schema (line 55) | def default_schema(self, schema: core_schema.WithDefaultSchema) -> Jso... method field_is_required (line 65) | def field_is_required( method nullable_schema (line 76) | def nullable_schema(self, schema: core_schema.NullableSchema) -> JsonS... method tagged_union_schema (line 86) | def tagged_union_schema(self, schema: core_schema.TaggedUnionSchema) -... function is_type_schema (line 93) | def is_type_schema(schema: core_schema.WithDefaultSchema) -> bool: function json2ts (line 110) | def json2ts(input_file: Path, output_file: Path): # pragma: no cover FILE: src/python-fastui/fastui/json_schema.py function model_json_schema_to_fields (line 27) | def model_json_schema_to_fields(model: type[BaseModel]) -> list[FormField]: class JsonSchemaBase (line 41) | class JsonSchemaBase(_t.TypedDict, total=False): class JsonSchemaString (line 46) | class JsonSchemaString(JsonSchemaBase): class JsonSchemaStringEnum (line 52) | class JsonSchemaStringEnum(JsonSchemaBase, total=False): class JsonSchemaStringSearch (line 60) | class JsonSchemaStringSearch(JsonSchemaBase, total=False): class JsonSchemaFile (line 67) | class JsonSchemaFile(JsonSchemaBase, total=False): class JsonSchemaTextarea (line 73) | class JsonSchemaTextarea(JsonSchemaBase, total=False): class JsonSchemaBool (line 82) | class JsonSchemaBool(JsonSchemaBase, total=False): class JsonSchemaInt (line 88) | class JsonSchemaInt(JsonSchemaBase, total=False): class JsonSchemaNumber (line 98) | class JsonSchemaNumber(JsonSchemaBase, total=False): class JsonSchemaArray (line 108) | class JsonSchemaArray(JsonSchemaBase, total=False): class JsonSchemaNull (line 134) | class JsonSchemaNull(JsonSchemaBase): class JsonSchemaAnyOf (line 138) | class JsonSchemaAnyOf(JsonSchemaBase): class JsonSchemaAllOf (line 142) | class JsonSchemaAllOf(JsonSchemaBase): function json_schema_obj_to_fields (line 151) | def json_schema_obj_to_fields( function json_schema_any_to_fields (line 160) | def json_schema_any_to_fields( function json_schema_field_to_field (line 177) | def json_schema_field_to_field( function loc_to_title (line 209) | def loc_to_title(loc: SchemeLocation) -> str: function json_schema_array_to_fields (line 213) | def json_schema_array_to_fields( function special_string_field (line 248) | def special_string_field( function loc_to_name (line 304) | def loc_to_name(loc: SchemeLocation) -> str: function deference_json_schema (line 319) | def deference_json_schema( function as_title (line 358) | def as_title(s: _t.Any) -> str: function input_html_type (line 376) | def input_html_type(schema: JsonSchemaField) -> InputHtmlType: function schema_is_field (line 391) | def schema_is_field(schema: JsonSchemaConcrete) -> _ta.TypeGuard[JsonSch... function schema_is_array (line 398) | def schema_is_array(schema: JsonSchemaConcrete) -> _ta.TypeGuard[JsonSch... function schema_is_object (line 405) | def schema_is_object(schema: JsonSchemaConcrete) -> _ta.TypeGuard[JsonSc... FILE: src/python-fastui/fastui/types.py class JsonDataSchema (line 12) | class JsonDataSchema: method __get_pydantic_json_schema__ (line 14) | def __get_pydantic_json_schema__( class PydanticModelSchema (line 47) | class PydanticModelSchema: method __get_pydantic_json_schema__ (line 49) | def __get_pydantic_json_schema__( FILE: src/python-fastui/tests/test_auth_github.py function github_requests (line 12) | def github_requests() -> list[str]: function fake_github_app (line 17) | def fake_github_app(github_requests: list[str]) -> FastAPI: function httpx_client (line 70) | async def httpx_client(fake_github_app: FastAPI): function github_auth_provider (line 77) | async def github_auth_provider(httpx_client: AsyncClient): function test_get_auth_url (line 87) | async def test_get_auth_url(github_auth_provider: GitHubAuthProvider): function test_get_auth_url_scopes (line 93) | async def test_get_auth_url_scopes(httpx_client: AsyncClient): function test_exchange_ok (line 107) | async def test_exchange_ok(github_auth_provider: GitHubAuthProvider, git... function test_exchange_ok_user (line 116) | async def test_exchange_ok_user(github_auth_provider: GitHubAuthProvider): function test_exchange_bad_expected (line 123) | async def test_exchange_bad_expected(github_auth_provider: GitHubAuthPro... function test_exchange_bad_unexpected (line 128) | async def test_exchange_bad_unexpected(github_auth_provider: GitHubAuthP... function github_auth_provider_state (line 134) | async def github_auth_provider_state(fake_github_app: FastAPI, httpx_cli... function test_exchange_no_state (line 143) | async def test_exchange_no_state(github_auth_provider_state: GitHubAuthP... function test_exchange_bad_state (line 148) | async def test_exchange_bad_state(github_auth_provider_state: GitHubAuth... function test_exchange_good_state (line 153) | async def test_exchange_good_state(github_auth_provider_state: GitHubAut... function test_exchange_bad_state_file_exists (line 162) | async def test_exchange_bad_state_file_exists(github_auth_provider_state... function test_exchange_ok_repeat (line 170) | async def test_exchange_ok_repeat(github_auth_provider: GitHubAuthProvid... function test_exchange_ok_repeat_cached (line 184) | async def test_exchange_ok_repeat_cached( function test_exchange_cached_purge (line 205) | async def test_exchange_cached_purge(fake_github_app: FastAPI, httpx_cli... function test_exchange_redirect_url (line 224) | async def test_exchange_redirect_url(fake_github_app: FastAPI, httpx_cli... function test_get_github_user (line 240) | async def test_get_github_user(github_auth_provider: GitHubAuthProvider,... function test_get_github_user_emails (line 252) | async def test_get_github_user_emails(github_auth_provider: GitHubAuthPr... function test_create (line 264) | async def test_create(): FILE: src/python-fastui/tests/test_auth_shared.py function app_fixture (line 8) | def app_fixture() -> FastAPI: function client (line 24) | def client(app: FastAPI): function test_auth_redirect (line 29) | def test_auth_redirect(client: TestClient): function test_auth_error (line 36) | def test_auth_error(client: TestClient): FILE: src/python-fastui/tests/test_components.py function test_div_text (line 11) | def test_div_text(): function test_div_class_name (line 25) | def test_div_class_name(): function test_root_model (line 35) | def test_root_model(): function test_root_model_single (line 45) | def test_root_model_single(): function test_iframe (line 56) | def test_iframe(): FILE: src/python-fastui/tests/test_dev.py function mock_signal (line 7) | def mock_signal(_sig, on_signal): function test_dev_connect (line 11) | async def test_dev_connect(): FILE: src/python-fastui/tests/test_forms.py class SimpleForm (line 14) | class SimpleForm(BaseModel): class FakeRequest (line 19) | class FakeRequest: method __init__ (line 24) | def __init__(self, form_data_list: list[tuple[str, str | UploadFile]]): method form (line 28) | async def form(self): function test_simple_form_fields (line 32) | def test_simple_form_fields(): function test_inline_form_fields (line 61) | def test_inline_form_fields(): function test_simple_form_submit (line 92) | async def test_simple_form_submit(): function test_simple_form_submit_repeat (line 102) | async def test_simple_form_submit_repeat(): class FormWithNested (line 116) | class FormWithNested(BaseModel): class NestedForm (line 119) | class NestedForm(BaseModel): function test_w_nested_form_fields (line 125) | def test_w_nested_form_fields(): function test_w_nested_form_submit (line 154) | async def test_w_nested_form_submit(): class FormWithFile (line 164) | class FormWithFile(BaseModel): function test_file (line 168) | def test_file(): function test_file_submit (line 189) | async def test_file_submit(): function test_file_submit_repeat (line 197) | async def test_file_submit_repeat(): class FormWithFileConstraint (line 211) | class FormWithFileConstraint(BaseModel): function test_file_constrained (line 215) | def test_file_constrained(): function test_file_constrained_submit (line 237) | async def test_file_constrained_submit(): function test_file_constrained_submit_filename (line 246) | async def test_file_constrained_submit_filename(): function test_file_constrained_submit_too_big (line 254) | async def test_file_constrained_submit_too_big(): function test_file_constrained_submit_wrong_type (line 274) | async def test_file_constrained_submit_wrong_type(): class FormMultipleFiles (line 297) | class FormMultipleFiles(BaseModel): function test_multiple_files (line 301) | def test_multiple_files(): function test_multiple_files_single (line 322) | async def test_multiple_files_single(): function test_multiple_files_multiple (line 330) | async def test_multiple_files_multiple(): class FixedTuple (line 339) | class FixedTuple(BaseModel): function test_fixed_tuple (line 343) | def test_fixed_tuple(): function test_fixed_tuple_submit (line 379) | async def test_fixed_tuple_submit(): class NestedTuple (line 386) | class NestedTuple(BaseModel): function test_fixed_tuple_nested (line 390) | def test_fixed_tuple_nested(): function test_fixed_tuple_nested_submit (line 426) | async def test_fixed_tuple_nested_submit(): function test_variable_tuple (line 433) | def test_variable_tuple(): function test_tuple_optional (line 442) | def test_tuple_optional(): class FormTextarea (line 451) | class FormTextarea(BaseModel): function test_form_textarea_form_fields (line 455) | def test_form_textarea_form_fields(): class SelectEnum (line 474) | class SelectEnum(str, enum.Enum): class FormSelectMultiple (line 479) | class FormSelectMultiple(BaseModel): function test_form_description_leakage (line 485) | def test_form_description_leakage(): class RichForm (line 525) | class RichForm(BaseModel): function test_form_fields (line 529) | def test_form_fields(): FILE: src/python-fastui/tests/test_json_schema.py function test_json_schema (line 8) | async def test_json_schema(): function test_openapi (line 19) | async def test_openapi(): FILE: src/python-fastui/tests/test_prebuilt_html.py function test_prebuilt_html (line 4) | def test_prebuilt_html(): function test_prebuilt_html_meta_tags (line 14) | def test_prebuilt_html_meta_tags(): FILE: src/python-fastui/tests/test_tables_display.py class User (line 7) | class User(BaseModel): method representation (line 13) | def representation(self) -> str: function test_table_no_columns (line 20) | def test_table_no_columns(): function test_table_columns (line 38) | def test_table_columns(): function test_table_empty_no_data_model (line 63) | def test_table_empty_no_data_model(): function test_table_empty_data_model (line 68) | def test_table_empty_data_model(): function test_display_no_fields (line 83) | def test_display_no_fields(): function test_display_fields (line 98) | def test_display_fields(): function test_details_with_display_lookup_and_display (line 111) | def test_details_with_display_lookup_and_display(): function test_table_respect_computed_field_title (line 133) | def test_table_respect_computed_field_title(): function test_details_respect_computed_field_title (line 152) | def test_details_respect_computed_field_title():