Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for operaciones (0.23 sec)

  1. docs/es/docs/index.md

    Verás la respuesta de JSON cómo:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Ya creaste una API que:
    
    * Recibe HTTP requests en los _paths_ `/` y `/items/{item_id}`.
    * Ambos _paths_ toman operaciones `GET` (también conocido como HTTP _methods_).
    * El _path_ `/items/{item_id}` tiene un _path parameter_ `item_id` que debería ser un `int`.
    * El _path_ `/items/{item_id}` tiene un `str` _query parameter_ `q` opcional.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/index.md

    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    この方法では、共有されるコードを一度書き、**FastAPI** が*path operations*のための呼び出しを行います。
    
    !!! check "確認"
        特別なクラスを作成してどこかで **FastAPI** に渡して「登録」する必要はないことに注意してください。
    
        `Depends`を渡すだけで、**FastAPI** が残りの処理をしてくれます。
    
    ## `async`にするかどうか
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  3. docs/it/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Hai appena creato un'API che:
    
    * Riceve richieste HTTP sui _paths_ `/` and `/items/{item_id}`.
    * Entrambi i _paths_ accettano`GET` operations (conosciuti anche come <abbr title="metodi HTTP">HTTP _methods_</abbr>).
    * Il _path_ `/items/{item_id}` ha un _path parameter_ `item_id` che deve essere un `int`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. docs/de/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Damit haben Sie bereits eine API erstellt, welche:
    
    * HTTP-Anfragen auf den _Pfaden_ `/` und `/items/{item_id}` entgegennimmt.
    * Beide _Pfade_ erhalten `GET` Operationen (auch bekannt als HTTP _Methoden_).
    * Der _Pfad_ `/items/{item_id}` hat einen _Pfadparameter_ `item_id`, der ein `int` sein sollte.
    * Der _Pfad_ `/items/{item_id}` hat einen optionalen `str` _Query Parameter_ `q`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  5. docs/en/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    You already created an API that:
    
    * Receives HTTP requests in the _paths_ `/` and `/items/{item_id}`.
    * Both _paths_ take `GET` operations (also known as HTTP _methods_).
    * The _path_ `/items/{item_id}` has a _path parameter_ `item_id` that should be an `int`.
    * The _path_ `/items/{item_id}` has an optional `str` _query parameter_ `q`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  6. docs/fa/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    تا اینجا شما APIای ساختید که:
    
    * درخواست‌های HTTP به _مسیرهای_ `/` و `/items/{item_id}` را دریافت می‌کند.
    * هردو  _مسیر_ <abbr title="operations در OpenAPI">عملیات</abbr> (یا HTTP _متد_) `GET` را پشتیبانی می‌کند.
    * _مسیر_ `/items/{item_id}` شامل  <abbr title="Path Parameter">_پارامتر مسیر_</abbr> `item_id` از نوع `int` است.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    This way you write shared code once and **FastAPI** takes care of calling it for your *path operations*.
    
    !!! check
        Notice that you don't have to create a special class and pass it somewhere to **FastAPI** to "register" it or anything similar.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top