コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 7 of about 7 for metadata (0.009 sec.)
SQL (Relational) Databases 12723
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 ... ead" : False } engine = create_engine ( sqlite_url , connect_args = connect_args ) def create_db_and_tables (): SQLModel . metadata . create_all ( engine ) def get_session (): with Session ( engine ) as session : yield session SessionDep = Annotated [ Se ... ead" : False } engine = create_engine ( sqlite_url , connect_args = connect_args ) def create_db_and_tables (): SQLModel . metadata . create_all ( engine ) def get_session (): with Session ( engine ) as session : yield session SessionDep = Annotated [ Se ... ead" : False } engine = create_engine ( sqlite_url , connect_args = connect_args ) def create_db_and_tables (): SQLModel . metadata . create_all ( engine ) def get_session (): with Session ( engine ) as session : yield session SessionDep = Annotated [ Se ...
https://man.mtool.work/fastapi/0.115/tutorial/sql-databases/
General - How To - Recipes 10887
General - How To - Recipes Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . Here are several pointers to other places in the docs, for general or frequent questions ... to JSON-compatible To convert any data to JSON-compatible, read the docs for Tutorial - JSON Compatible Encoder . OpenAPI Metadata - Docs To add metadata to your OpenAPI schema, including a license, version, contact, etc, read the docs for Tutorial - Me ... tadata and Docs URLs . OpenAPI Custom URL To customize the OpenAPI URL (or remove it), read the docs for Tutorial - Metadata and Docs URLs . OpenAPI Docs URLs To update the URLs used for the automatically generated docs user interfaces, read the d ... ocs for Tutorial - Metadata and Docs URLs . ...
https://man.mtool.work/fastapi/0.115/how-to/general/
メタデータとドキュメントのURL 8615
メタデータとドキュメントのURL FastAPI アプリケーションのいくつかのメタデータの設定をカスタマイズできます。 タイトル、説明文、バージョン 以下を設定できます: タイトル : OpenAPIおよび自動APIドキュメントUIでAPIのタイトル/名前として使用される。 ... う。 タグのためのメタデータを作成し、それを openapi_tags パラメータに渡します。 Python 3.8+ from fastapi import FastAPI tags_metadata = [ { "name" : "users" , "description" : "Operations with users. The **login** logic is also here." , }, { "name" : "items ... scription" : "Items external docs" , "url" : "https://fastapi.tiangolo.com/" , }, }, ] app = FastAPI ( openapi_tags = tags_metadata ) @app . get ( "/users/" , tags = [ "users" ]) async def get_users (): return [{ "name" : "Harry" }, { "name" : "Ron" }] @ ... て、それぞれの path operations (および APIRouter ) を異なるタグに割り当てます: Python 3.8+ from fastapi import FastAPI tags_metadata = [ { "name" : "users" , "description" : "Operations with users. The **login** logic is also here." , }, { "name" : "items ...
https://man.mtool.work/fastapi/0.115/tutorial/metadata/
Request Files 8142
Request Files Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can define files to be uploaded by the client using File . Info To receive uploaded files, first ... it will work well for large files like images, videos, large binaries, etc. without consuming all the memory. You can get metadata from the uploaded file. It has a file-like async interface. It exposes an actual Python SpooledTemporaryFile object that y ... e : return { "message" : "No upload file sent" } else : return { "filename" : file . filename } UploadFile with Additional Metadata You can also use File() with UploadFile , for example, to set additional metadata: Python 3.9+ from typing import Annotate ... ou, the developer. But most of the available responses come directly from Starlette. Multiple File Uploads with Additional Metadata And the same way as before, you can use File() to set additional parameters, even for UploadFile : Python 3.9+ from typing ...
https://man.mtool.work/fastapi/0.115/tutorial/request-files/
Release Notes 7906
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 ... cs/en/docs/advanced/testing-dependencies.md . PR #12647 by @AyushSinghal1794 . ? Update includes for docs/en/docs/tutorial/metadata.md . PR #12773 by @Nimitha-jagadeesha . ? Update docs/en/docs/tutorial/dependencies/dependencies-with-yield.md . PR #12045 ... /advanced/custom-response.md . PR #12631 by @Joao-Pedro-P-Holanda . ? Add Portuguese translation for docs/pt/docs/tutorial/metadata.md . PR #12538 by @LinkolnR . ? Add Korean translation for docs/ko/docs/tutorial/metadata.md . PR #12541 by @kwang1215 . ? ... lation for docs/tutorial/extra-models.md . PR #3497 by @jaystone776 . ? Add Japanese translation for docs/ja/docs/tutorial/metadata.md . PR #2667 by @tokusumi . ? Add German translation for docs/de/docs/contributing.md . PR #10487 by @nilslindemann . ? U ...
https://man.mtool.work/fastapi/0.115/release-notes/
Header Parameter Models 7670
Header Parameter Models Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . If you have a group of related header parameters , you can create a Pydantic model to decla ... re them. This would allow you to re-use the model in multiple places and also to declare validations and metadata for all the parameters at once. ? Note This is supported since FastAPI version 0.115.0 . ? Header Parameters with a Pydant ...
https://man.mtool.work/fastapi/0.115/tutorial/header-param-models/
Custom Request and APIRoute class 7615
Custom Request and APIRoute class Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . In some cases, you may want to override the logic used by the Request and APIRout ... um" : sum ( numbers )} Technical Details A Request has a request.scope attribute, that's just a Python dict containing the metadata related to the request. A Request also has a request.receive , that's a function to "receive" the body of the request. The ...
https://man.mtool.work/fastapi/0.115/how-to/custom-request-and-route/
PREV 1 NEXT