Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for modifiers (0.18 sec)

  1. docs/de/docs/advanced/custom-response.md

    * `filename` – Wenn gesetzt, wird das in der `Content-Disposition` der Response eingefügt.
    
    Datei-Responses enthalten die entsprechenden `Content-Length`-, `Last-Modified`- und `ETag`-Header.
    
    ```Python hl_lines="2  10"
    {!../../../docs_src/custom_response/tutorial009.py!}
    ```
    
    Sie können auch den Parameter `response_class` verwenden:
    
    ```Python hl_lines="2  8  10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:05:12 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. docs/ja/docs/advanced/custom-response.md

    * `headers` - 含めたい任意のカスタムヘッダーの辞書。
    * `media_type` - メディアタイプを示す文字列。セットされなかった場合は、ファイル名やパスからメディアタイプが推察されます。
    * `filename` - セットされた場合、レスポンスの `Content-Disposition` に含まれます。
    
    ファイルレスポンスには、適切な `Content-Length` 、 `Last-Modified` 、 `ETag` ヘッダーが含まれます。
    
    ```Python hl_lines="2  10"
    {!../../../docs_src/custom_response/tutorial009.py!}
    ```
    
    ## デフォルトレスポンスクラス
    
    **FastAPI** クラスのインスタンスか `APIRouter` を生成するときに、デフォルトのレスポンスクラスを指定できます。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  3. docs/fr/docs/contributing.md

    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    </div>
    
    Il servira la documentation sur `http://127.0.0.1:8008`.
    
    De cette façon, vous pouvez modifier la documentation/les fichiers sources et voir les changements en direct.
    
    #### Typer CLI (facultatif)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:51:07 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    * `filename` - If set, this will be included in the response `Content-Disposition`.
    
    File responses will include appropriate `Content-Length`, `Last-Modified` and `ETag` headers.
    
    ```Python hl_lines="2  10"
    {!../../../docs_src/custom_response/tutorial009.py!}
    ```
    
    You can also use the `response_class` parameter:
    
    ```Python hl_lines="2  8  10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. docs/fr/docs/index.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Exemple plus poussé
    
    Maintenant, modifiez le fichier `main.py` pour recevoir <abbr title="en anglais : body">le corps</abbr> d'une requête `PUT`.
    
    Déclarez ce corps en utilisant les types Python standards, grâce à Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  6. docs/fr/docs/python-types.md

    Mais malheureusement, rien d'utile n'en résulte :
    
    <img src="/img/python-types/image01.png">
    
    ### Ajouter des types
    
    Modifions une seule ligne de la version précédente.
    
    Nous allons changer seulement cet extrait, les paramètres de la fonction, de :
    
    
    ```Python
        first_name, last_name
    ```
    
    à :
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/settings.md

    #### `lru_cache` Technical Details
    
    `@lru_cache` modifies the function it decorates to return the same value that was returned the first time, instead of computing it again, executing the code of the function every time.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  8. docs/fr/docs/alternatives.md

    Mais alors, nous avons à nouveau le problème d'avoir une micro-syntaxe, dans une docstring Python (un gros morceau de YAML).
    
    L'éditeur ne peut guère aider en la matière. Et si nous modifions les paramètres ou les schémas Marshmallow et que nous oublions de modifier également cette docstring YAML, le schéma généré deviendrait obsolète.
    
    !!! info
    APISpec a été créé par les développeurs de Marshmallow.
    
    !!! check "A inspiré **FastAPI** à"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    Before OpenAPI 3.1.0, OpenAPI used an older and modified version of **JSON Schema**.
    
    JSON Schema didn't have `examples`, so OpenAPI added it's own `example` field to its own modified version.
    
    OpenAPI also added `example` and `examples` fields to other parts of the specification:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top