- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 123 for 11 (0.42 sec)
-
docs/en/docs/tutorial/response-model.md
### Return a Response Directly The most common case would be [returning a Response directly as explained later in the advanced docs](../advanced/response-directly.md){.internal-link target=_blank}. ```Python hl_lines="8 10-11" {!> ../../../docs_src/response_model/tutorial003_02.py!} ``` This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass) of `Response`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
Вы можете использовать это, чтобы добавить аргумент `example` для каждого поля: === "Python 3.10+" ```Python hl_lines="2 8-11" {!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="4 10-13" {!> ../../../docs_src/schema_extra_example/tutorial002.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
매개변수가 없는 "호출 가능"한 것 역시 매개변수가 없는 *경로 작동 함수*와 동일한 방식으로 적용됩니다. 그래서, 우리는 위 예제에서의 `common_paramenters` 의존성을 클래스 `CommonQueryParams`로 바꿀 수 있습니다. === "파이썬 3.6 이상" ```Python hl_lines="11-15" {!> ../../../docs_src/dependencies/tutorial002.py!} ``` === "파이썬 3.10 이상" ```Python hl_lines="9-13" {!> ../../../docs_src/dependencies/tutorial002_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 8K bytes - Viewed (0) -
docs/zh/docs/index.md
--- FastAPI 是一个用于构建 API 的现代、快速(高性能)的 web 框架,使用 Python 并基于标准的 Python 类型提示。 关键特性: * **快速**:可与 **NodeJS** 和 **Go** 并肩的极高性能(归功于 Starlette 和 Pydantic)。[最快的 Python web 框架之一](#_11)。 * **高效编码**:提高功能开发速度约 200% 至 300%。* * **更少 bug**:减少约 40% 的人为(开发者)导致错误。* * **智能**:极佳的编辑器支持。处处皆可<abbr title="也被称为自动完成、智能感知">自动补全</abbr>,减少调试时间。 * **简单**:设计的易于使用和学习,阅读文档的时间更短。 * **简短**:使代码重复最小化。通过不同的参数声明实现丰富功能。bug 更少。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
=== "Python 3.9+" ```Python hl_lines="12" {!> ../../../docs_src/security/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="11" {!> ../../../docs_src/security/tutorial001_an.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="10"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
=== "Python 3.10+" ```Python hl_lines="11-15" {!> ../../../docs_src/dependencies/tutorial002_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="11-15" {!> ../../../docs_src/dependencies/tutorial002_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="12-16"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:58 GMT 2024 - 12.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/body-fields.md
## Оголошення атрибутів моделі Ви можете використовувати `Field` з атрибутами моделі: === "Python 3.10+" ```Python hl_lines="11-14" {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="11-14" {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="12-15"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 09 15:25:48 GMT 2024 - 5.2K bytes - Viewed (0) -
docs/de/docs/tutorial/body-fields.md
## Modellattribute deklarieren Dann können Sie `Field` mit Modellattributen deklarieren: === "Python 3.10+" ```Python hl_lines="11-14" {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="11-14" {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="12-15"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 29 17:36:19 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/sql-databases.md
但是一旦我们创建了一个`SessionLocal`类的实例,这个实例将是实际的数据库会话。 我们命名它是`SessionLocal`为了将它与我们从 SQLAlchemy 导入的`Session`区别开来。 稍后我们将使用`Session`(从 SQLAlchemy 导入的那个)。 要创建`SessionLocal`类,请使用函数`sessionmaker`: ```Python hl_lines="11" {!../../../docs_src/sql_databases/sql_app/database.py!} ``` ### 创建一个`Base`类 现在我们将使用`declarative_base()`返回一个类。 稍后我们将用这个类继承,来创建每个数据库模型或类(ORM 模型): ```Python hl_lines="13"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 27K bytes - Viewed (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
```Python hl_lines="10" {!../../../docs_src/query_params_str_validations/tutorial003.py!} ``` ## 添加正则表达式 你可以定义一个参数值必须匹配的<abbr title="正则表达式或正则是定义字符串搜索模式的字符序列。">正则表达式</abbr>: ```Python hl_lines="11" {!../../../docs_src/query_params_str_validations/tutorial004.py!} ``` 这个指定的正则表达式通过以下规则检查接收到的参数值: * `^`:以该符号之后的字符开头,符号之前没有字符。 * `fixedquery`: 值精确地等于 `fixedquery`。 * `$`: 到此结束,在 `fixedquery` 之后没有更多字符。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0)