Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 700 for python (0.03 sec)

  1. docs/ja/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### 現代的なPython
    
    FastAPIの機能はすべて、標準のPython 3.8型宣言に基づいています(Pydanticの功績)。新しい構文はありません。ただの現代的な標準のPythonです。
    
    (FastAPIを使用しない場合でも)Pythonの型の使用方法について簡単な復習が必要な場合は、短いチュートリアル([Python Types](python-types.md){.internal-link target=_blank})を参照してください。
    
    型を使用した標準的なPythonを記述します:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. docs/es/docs/index.md

    Lo haces con tipos estándar modernos de Python.
    
    No tienes que aprender una nueva sintaxis, los métodos o clases de un paquete específico, etc.
    
    Solo **Python** estándar.
    
    Por ejemplo, para un `int`:
    
    ```Python
    item_id: int
    ```
    
    o para un modelo `Item` más complejo:
    
    ```Python
    item: Item
    ```
    
    ...y con esa única declaración obtienes:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. docs/nl/docs/index.md

    Dat doe je met standaard moderne Python types.
    
    Je hoeft geen nieuwe syntax te leren, de methods of klassen van een specifieke bibliotheek, etc.
    
    Gewoon standaard **Python**.
    
    Bijvoorbeeld, voor een `int`:
    
    ```Python
    item_id: int
    ```
    
    of voor een complexer `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...en met die ene verklaring krijg je:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. docs/zh-hant/docs/index.md

    ### 總結
    
    總結來說, 你就像宣告函式的參數型別一樣,只宣告了一次請求參數和請求主體參數等型別。
    
    你使用 Python 標準型別來完成聲明。
    
    你不需要學習新的語法、類別、方法或函式庫等等。
    
    只需要使用 **Python 以上的版本**。
    
    舉個範例,比如宣告 int 的型別:
    
    ```Python
    item_id: int
    ```
    
    或是一個更複雜的 `Item` 模型:
    
    ```Python
    item: Item
    ```
    
    在進行一次宣告後,你將獲得:
    
    - 編輯器支援:
        - 自動補全
        - 型別檢查
    - 資料驗證:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. docs/en/docs/reference/middleware.md

    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.cors import CORSMiddleware
    ```
    
    ::: fastapi.middleware.gzip.GZipMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    from fastapi.middleware.gzip import GZipMiddleware
    ```
    
    ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware
    
    It can be imported from `fastapi`:
    
    ```python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 991 bytes
    - Viewed (0)
  6. docs/en/docs/alternatives.md

    That's why, as said in the official website:
    
    > Requests is one of the most downloaded Python packages of all time
    
    The way you use it is very simple. For example, to do a `GET` request, you would write:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. docs/select/README.md

    ## Example using Python API
    
    ### 1. Prerequisites
    
    - Install MinIO Server from [here](https://docs.min.io/community/minio-object-store/operations/deployments/baremetal-deploy-minio-on-redhat-linux.html#procedure).
    - Familiarity with AWS S3 API.
    - Familiarity with Python and installing dependencies.
    
    ### 2. Install boto3
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/path-params.md

    {"item_id":3}
    ```
    
    /// check | Ek bilgi
    
    Dikkatinizi çekerim ki, fonksiyonunuzun aldığı (ve döndürdüğü) değer olan `3` bir string `"3"` değil aksine bir Python `int`'idir.
    
    Bu tanımlamayla birlikte, **FastAPI** size otomatik istek <abbr title="HTTP isteği ile birlikte gelen string'i Python verisine dönüştürme">"ayrıştırma"</abbr> özelliği sağlar.
    
    ///
    
    ## Veri Doğrulama
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check | Примітка
    
    Зверніть увагу, що значення, яке отримала (і повернула) ваша функція, — це `3`. Це Python `int`, а не рядок `"3"`.
    
    Отже, з таким оголошенням типу  **FastAPI**  автоматично виконує <abbr title="перетворення рядка, що надходить із HTTP-запиту, у типи даних Python">"парсинг"</abbr> запитів.
    
    ///
    
    ## <abbr title="Або валідація">Перевірка</abbr> даних
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/path-params.md

    # パスパラメータ
    
    Pythonのformat文字列と同様のシンタックスで「パスパラメータ」や「パス変数」を宣言できます:
    
    {* ../../docs_src/path_params/tutorial001.py hl[6,7] *}
    
    パスパラメータ `item_id` の値は、引数 `item_id` として関数に渡されます。
    
    しがたって、この例を実行して <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a> にアクセスすると、次のレスポンスが表示されます。
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## パスパラメータと型
    
    標準のPythonの型アノテーションを使用して、関数内のパスパラメータの型を宣言できます:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top