Results of 1 - 6 of about 6 for index (0.009 sec.)
- SQL (Relational) Databases 11918
- SQL (Relational) Databases Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . FastAPI doesn't require you to use a SQL (relational) database. But you can use any data
...ass Hero ( SQLModel , table = True ): id : int | None = Field ( default = None , primary_key = True ) name : str = Field ( index = True ) age : int | None = Field ( default = None , index = True ) secret_name : str # Code below omitted ? ? Full file p...ass Hero ( SQLModel , table = True ): id : int | None = Field ( default = None , primary_key = True ) name : str = Field ( index = True ) age : int | None = Field ( default = None , index = True ) secret_name : str sqlite_file_name = "database.db" sql...SQLModel , table = True ): id : Union [ int , None ] = Field ( default = None , primary_key = True ) name : str = Field ( index = True ) age : Union [ int , None ] = Field ( default = None , index = True ) secret_name : str sqlite_file_name = "databa... - https://man.mtool.work/fastapi/0.115/tutorial/sql-databases/
- Release Notes 11497
- Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom
...for docs/vi/docs/deployment/versions.md . PR #13406 by @ptt3199 . ? Add Vietnamese translation for docs/vi/docs/deployment/index.md . PR #13405 by @ptt3199 . ? Add Ukrainian translation for docs/uk/docs/tutorial/request-forms.md . PR #13383 by @valent...lation for docs/uk/docs/features.md . PR #13308 by @valentinDruzhinin . ? Add Ukrainian translation for docs/uk/docs/learn/index.md . PR #13306 by @valentinDruzhinin . ? Update Portuguese Translation for docs/pt/docs/deployment/https.md . PR #13317 by...@Joao-Pedro-P-Holanda . ? Update Portuguese Translation for docs/pt/docs/index.md . PR #13328 by @ceb10n . ? Add Russian translation for docs/ru/docs/advanced/websockets.md . PR #13279 by @Rishat-F . I... - https://man.mtool.work/fastapi/0.115/release-notes/
- Development - Contributing 7951
- Development - Contributing Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . First, you might want to see the basic ways to help FastAPI and get help . Developing If
...ts in HTML: $ bash scripts/test-cov-html.sh This command generates a directory ./htmlcov/ , if you open the file ./htmlcov/index.html in your browser, you can explore interactively the regions of code that are covered by the tests, and notice if there...ml Tip You could also simply create that file with those contents manually. That command also created a dummy file docs/ht/index.md for the main page, you can start by translating that one. You can continue with the previous instructions for an "Exist...ing Language" for that process. You can make the first pull request with those two files, docs/ht/mkdocs.yml and docs/ht/index.md . ? Preview the result As already mentioned above, you can use the ./scripts/docs.py with the live command to preview t... - https://man.mtool.work/fastapi/0.115/contributing/
- ボディ - ネストされたモデル 7896
- ボディ - ネストされたモデル FastAPI を使用すると、深くネストされた任意のモデルを定義、検証、文書化、使用することができます(Pydanticのおかげです)。 リストのフィールド 属性をサブタイプとして定義することができます。例えば、Pythonの list は以
...も受け入れることができます: Python 3.8+ from typing import Dict from fastapi import FastAPI app = FastAPI () @app . post ( "/index-weights/" ) async def create_index_weights ( weights : Dict [ int , float ]): return weights ? Other versions and variants...Python 3.9+ from fastapi import FastAPI app = FastAPI () @app . post ( "/index-weights/" ) async def create_index_weights ( weights : dict [ int , float ]): return weights 豆知識 JSONはキーとして str し... - https://man.mtool.work/fastapi/0.115/tutorial/body-nested-models/
- Repository Management Tasks 7768
- Repository Management Tasks These are the tasks that can be performed to manage the FastAPI repository by team members . Tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can
...es un consejo. First Translation PR When there's a first translation for a language, it will have a docs/{lang code}/docs/index.md translated file and a docs/{lang code}/mkdocs.yml . For example, for Bosnian, it would be: docs/bs/docs/index.md docs/b... - https://man.mtool.work/fastapi/0.115/management-tasks/
- Generate Clients 7750
- Generate Clients Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . As FastAPI is based on the OpenAPI specification, you get automatic compatibility with many tools,
...ckage.json file. It could look like this: { "name" : "frontend-app" , "version" : "1.0.0" , "description" : "" , "main" : "index.js" , "scripts" : { "generate-client" : "openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --cli...json to use that local file, for example: { "name" : "frontend-app" , "version" : "1.0.0" , "description" : "" , "main" : "index.js" , "scripts" : { "generate-client" : "openapi-ts --input ./openapi.json --output ./src/client --client axios" }, "autho... - https://man.mtool.work/fastapi/0.115/advanced/generate-clients/
PREV
1
NEXT