コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 10 of about 10 for support (0.008 sec.)
Release Notes 13193
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 ... t-F . ? Add Russian translation for docs/ru/docs/tutorial/bigger-applications.md . PR #13154 by @alv2017 . Internal ⬆️ Add support for Python 3.13. PR #13274 by @tiangolo . ⬆️ Upgrade AnyIO max version for tests, new range: >=3.2.1,<5.0.0 . PR #13273 by ... ⬆ [pre-commit.ci] pre-commit autoupdate. PR #12954 by @pre-commit-ci[bot] . 0.115.5 Refactors ♻️ Update internal checks to support Pydantic 2.10. PR #12914 by @tiangolo . Docs ? Update includes for docs/en/docs/tutorial/body.md . PR #12757 by @gsheni . ... okie parameters, read the new docs: Forbid Extra Query Parameters Forbid Extra Headers Forbid Extra Cookies Features ✨ Add support for Pydantic models for parameters using Query , Cookie , Header . PR #12199 by @tiangolo . Translations ? Add Portuguese ...
https://man.mtool.work/fastapi/0.115/release-notes/
Repository Management Tasks 11513
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 ... tle with a verb. For example Add , Refactor , Fix , etc. This way the title will say the action that the PR does. Like Add support for teleporting , instead of Teleporting wasn't working, so this PR fixes it . Edit the text of the PR title to start in " ... imperative", like giving an order. So, instead of Adding support for teleporting use Add support for teleporting . Try to make the title descriptive about what it achieves. If it's a feat ... ure, try to describe it, for example Add support for teleporting instead of Create TeleportAdapter class . Do not finish the title with a period ( . ). When the PR is for ...
https://man.mtool.work/fastapi/0.115/management-tasks/
GraphQL 8759
GraphQL 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 ASGI standard, it's very easy to integrate any GraphQL library also compatible w ... its for your use case compensate the drawbacks . ? GraphQL Libraries Here are some of the GraphQL libraries that have ASGI support. You could use them with FastAPI : Strawberry ? With docs for FastAPI Ariadne With docs for FastAPI Tartiflette With Tarti ...
https://man.mtool.work/fastapi/0.115/how-to/graphql/
Using Dataclasses 8295
Using Dataclasses Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . FastAPI is built on top of Pydantic , and I have been showing you how to use Pydantic models to d ... eclare requests and responses. But FastAPI also supports using dataclasses the same way: Python 3.8+ from dataclasses import dataclass from typing import Union from fastapi impor ... None ] = None app = FastAPI () @app . post ( "/items/" ) async def create_item ( item : Item ): return item This is still supported thanks to Pydantic , as it has internal support for dataclasses . So, even with the code above that doesn't use Pydantic ... FastAPI is using Pydantic to convert those standard dataclasses to Pydantic's own flavor of dataclasses. And of course, it supports the same: data validation data serialization data documentation, etc. This works the same way as with Pydantic models. An ...
https://man.mtool.work/fastapi/0.115/advanced/dataclasses/
Settings and Environment Variables 8295
Settings and Environment Variables Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . In many cases your application could need some external settings or configuratio ... n Unix-like systems, like Linux and macOS. But a dotenv file doesn't really have to have that exact filename. Pydantic has support for reading from these types of files using an external library. You can read more at Pydantic Settings: Dotenv (.env) sup ...
https://man.mtool.work/fastapi/0.115/advanced/settings/
FastAPI People 7991
FastAPI People FastAPI has an amazing community that welcomes people from all backgrounds. Creator Hey! ? This is me: @tiangolo Answers: 1894 Pull Requests: 723 I'm the creator of FastAPI . You can read more about that in Help FastAPI - Get ... Help - Connect with the author . ...But here I want to show you the community. FastAPI receives a lot of support from the community. And I want to highlight their contributions. These are the people that: Help others with questions in ... dle Reviews: 26 @Vincy1230 Reviews: 26 @zy7y Reviews: 25 @mycaule Reviews: 25 Sponsors These are the Sponsors . ? They are supporting my work with FastAPI (and others), mainly through GitHub Sponsors . Gold Sponsors Silver Sponsors Bronze Sponsors Indiv ...
https://man.mtool.work/fastapi/0.115/fastapi-people/
Custom Request and APIRoute class 7991
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 ... m request class. Create a custom GzipRequest class Tip This is a toy example to demonstrate how it works, if you need Gzip support, you can use the provided GzipMiddleware . First, we create a GzipRequest class, which will overwrite the Request.body() m ...
https://man.mtool.work/fastapi/0.115/how-to/custom-request-and-route/
Separate OpenAPI Schemas for Input and Output or Not 7991
Separate OpenAPI Schemas for Input and Output or Not Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . When using Pydantic v2 , the generated OpenAPI is a bit more e ... now. In that case, you can disable this feature in FastAPI , with the parameter separate_input_output_schemas=False . Info Support for separate_input_output_schemas was added in FastAPI 0.102.0 . ? Python 3.10+ from fastapi import FastAPI from pydantic ...
https://man.mtool.work/fastapi/0.115/how-to/separate-openapi-schemas/
機能 7848
機能 FastAPIの機能 FastAPI は以下の機能をもちます: オープンスタンダード準拠 API作成のための OpenAPI 。これは、 path operations の宣言、パラメータ、ボディリクエスト、セキュリティなどを含んでいます。 JSONスキーマ を使用したデータモデルのドキュ ... ythonを記述します: from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main ( user_id : str ): return user_id # A Pydantic model class User ( BaseModel ): id : int name ...
https://man.mtool.work/fastapi/0.115/features/
SQL (Relational) Databases 7383
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 ... "ORMs" ), FastAPI doesn't force you to use anything. ? As SQLModel is based on SQLAlchemy, you can easily use any database supported by SQLAlchemy (which makes them also supported by SQLModel), like: PostgreSQL MySQL SQLite Oracle Microsoft SQL Server, ... etc. In this example, we'll use SQLite , because it uses a single file and Python has integrated support. So, you can copy this example and run it as is. Later, for your production application, you might want to use a database ...
https://man.mtool.work/fastapi/0.115/tutorial/sql-databases/
PREV 1 NEXT