Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 2,275 for inf1 (0.04 seconds)

  1. docs/fr/docs/tutorial/bigger-applications.md

    Si vous créez une application ou une API web, il est rare que vous puissiez tout mettre dans un seul fichier.
    
    **FastAPI** fournit un outil pratique pour structurer votre application tout en conservant toute la flexibilité.
    
    /// info
    
    Si vous venez de Flask, cela équivaut aux Blueprints de Flask.
    
    ///
    
    ## Exemple de structure de fichiers { #an-example-file-structure }
    
    Supposons que vous ayez une structure de fichiers comme ceci :
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/bigger-applications.md

    Si estás construyendo una aplicación o una API web, rara vez podrás poner todo en un solo archivo.
    
    **FastAPI** proporciona una herramienta conveniente para estructurar tu aplicación manteniendo toda la flexibilidad.
    
    /// info | Información
    
    Si vienes de Flask, esto sería el equivalente a los Blueprints de Flask.
    
    ///
    
    ## Un ejemplo de estructura de archivos { #an-example-file-structure }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 20.2K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/path-params-numeric-validations.md

    ## Importar `Path` { #import-path }
    
    Primero, importa `Path` de `fastapi`, e importa `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Información
    
    FastAPI agregó soporte para `Annotated` (y comenzó a recomendar su uso) en la versión 0.95.0.
    
    Si tienes una versión anterior, obtendrás errores al intentar usar `Annotated`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/request-files.md

    # Загрузка файлов { #request-files }
    
    Используя класс `File`, мы можем позволить клиентам загружать файлы.
    
    /// info | Дополнительная информация
    
    Чтобы получать загруженные файлы, сначала установите [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Убедитесь, что вы создали [виртуальное окружение](../virtual-environments.md), активировали его, а затем установили пакет, например:
    
    ```console
    $ pip install python-multipart
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/schema-extra-example.md

    你可以设置 `"json_schema_extra"`,其值为一个 `dict`,包含你希望出现在生成 JSON Schema 中的任意附加数据,包括 `examples`。
    
    /// tip | 提示
    
    你也可以用同样的技巧扩展 JSON Schema,添加你自己的自定义额外信息。
    
    例如,你可以用它为前端用户界面添加元数据等。
    
    ///
    
    /// info | 信息
    
    OpenAPI 3.1.0(自 FastAPI 0.99.0 起使用)增加了对 `examples` 的支持,它是 JSON Schema 标准的一部分。
    
    在此之前,只支持使用单个示例的关键字 `example`。OpenAPI 3.1.0 仍然支持它,但它已被弃用,并不属于 JSON Schema 标准。因此,建议你把 `example` 迁移到 `examples`。🤓
    
    你可以在本页末尾阅读更多内容。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  6. fastapi/openapi/models.py

    class Tag(BaseModelWithConfig):
        name: str
        description: str | None = None
        externalDocs: ExternalDocumentation | None = None
    
    
    class OpenAPI(BaseModelWithConfig):
        openapi: str
        info: Info
        jsonSchemaDialect: str | None = None
        servers: list[Server] | None = None
        # Using Any for Specification Extensions
        paths: dict[str, PathItem | Any] | None = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/events.md

    {* ../../docs_src/events/tutorial002_py310.py hl[6] *}
    
    Здесь функция-обработчик события `shutdown` запишет строку текста `"Application shutdown"` в файл `log.txt`.
    
    /// info | Информация
    
    В функции `open()` параметр `mode="a"` означает «добавление» (append), то есть строка будет добавлена в конец файла, без перезаписи предыдущего содержимого.
    
    ///
    
    /// tip | Совет
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/additional-responses.md

    例如,要宣告一個狀態碼為 `404` 的額外回應,並使用 Pydantic 模型 `Message`,你可以這樣寫:
    
    {* ../../docs_src/additional_responses/tutorial001_py310.py hl[18,22] *}
    
    /// note | 注意
    
    請記住你必須直接回傳 `JSONResponse`。
    
    ///
    
    /// info | 說明
    
    `model` 這個鍵不屬於 OpenAPI。
    
    **FastAPI** 會從這裡取出 Pydantic 模型,產生 JSON Schema,並放到正確位置。
    
    正確的位置是:
    
    * 在 `content` 這個鍵中,其值是一個 JSON 物件(`dict`),包含:
        * 一個媒體型別作為鍵,例如 `application/json`,其值是另一個 JSON 物件,當中包含:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java

         * This method is called automatically after construction to add this creator to the dictionary manager.
         */
        @PostConstruct
        public void register() {
            if (logger.isInfoEnabled()) {
                logger.info("Loaded {}", this.getClass().getSimpleName());
            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. tests/test_arbitrary_types.py

            }
        )
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("openapi.json")
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/": {
                        "get": {
                            "summary": "Test",
                            "operationId": "test__get",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top