Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for paths (0.14 sec)

  1. docs/es/docs/index.md

    ```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.
    
    ### Documentación interactiva de APIs
    
    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/bn/docs/index.md

    {"item_id": 5, "q": "somequery"}
    ```
    
    আপনি ইতিমধ্যে একটি API তৈরি করেছেন যা:
    
    - `/` এবং `/items/{item_id}` _paths_ এ HTTP অনুরোধ গ্রহণ করে।
    - উভয় *path*ই `GET` অপারেশন নেয় ( যা HTTP _methods_ নামেও পরিচিত)।
    - _path_ `/items/{item_id}`-এ একটি _path প্যারামিটার_ `item_id` আছে যা কিনা `int` হতে হবে।
    - _path_ `/items/{item_id}`-এর একটি ঐচ্ছিক `str` _query প্যারামিটার_ `q` আছে।
    
    ### ক্রিয়াশীল API নির্দেশিকা নথি
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  3. docs/fr/docs/index.md

    * Les deux _chemins_ acceptent des opérations `GET` (également connu sous le nom de _méthodes_ HTTP).
    * Le _chemin_ `/items/{item_id}` a un  _<abbr title="en anglais : path parameter">paramètre</abbr>_ `item_id` qui doit être un `int`.
    * Le _chemin_ `/items/{item_id}` a un _<abbr title="en anglais : query param">paramètre de requête</abbr>_ optionnel `q` de type `str`.
    
    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)
  4. docs/tr/docs/index.md

    Aşağıdaki gibi bir JSON yanıtıyla karşılaşacağız:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Az önce oluşturduğumuz API:
    
    * `/` ve `/items/{item_id}` <abbr title="Adres / Yol: Path ">_yollarına_</abbr> HTTP isteği alabilir.
    * İki _yolda_ `GET` operasyonlarını (HTTP _metodları_ olarak da bilinen) kabul ediyor.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  5. docs/it/docs/index.md

    ```
    
    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`.
    * Il _path_ `/items/{item_id}` ha una `str` _query parameter_ `q`.
    
    ### Documentazione interattiva dell'API
    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)
  6. docs/ja/docs/tutorial/dependencies/index.md

    ### 依存関係の作成
    
    まずは依存関係に注目してみましょう。
    
    以下のように、*path operation関数*と同じパラメータを全て取ることができる関数にすぎません:
    
    ```Python hl_lines="8 9"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    これだけです。
    
    **2行**。
    
    そして、それはすべての*path operation関数*が持っているのと同じ形と構造を持っています。
    
    「デコレータ」を含まない(`@app.get("/some-path")`を含まない)*path operation関数*と考えることもできます。
    
    そして何でも返すことができます。
    
    この場合、この依存関係は以下を期待しています:
    
    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)
  7. docs/ru/docs/tutorial/dependencies/index.md

        ```
    
    **И всё.**
    
    **2 строки.**
    
    И теперь она той же формы и структуры, что и все ваши *функции обработки пути*.
    
    Вы можете думать об *функции обработки пути* как о функции без "декоратора" (без `@app.get("/some-path")`).
    
    И она может возвращать всё, что требуется.
    
    В этом случае, эта зависимость ожидает:
    
    * Необязательный query-параметр `q` с типом `str`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/index.md

    Das war's schon.
    
    **Zwei Zeilen**.
    
    Und sie hat die gleiche Form und Struktur wie alle Ihre *Pfadoperation-Funktionen*.
    
    Sie können sie sich als *Pfadoperation-Funktion* ohne den „Dekorator“ (ohne `@app.get("/some-path")`) vorstellen.
    
    Und sie kann alles zurückgeben, was Sie möchten.
    
    In diesem Fall erwartet diese Abhängigkeit:
    
    * Einen optionalen Query-Parameter `q`, der ein `str` ist.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  9. docs/hu/docs/index.md

    * HTTP kéréseket fogad a  `/` és `/items/{item_id}` _útvonalakon_.
    * Mindkét _útvonal_ a `GET` műveletet használja (másik elnevezés: HTTP _metódus_).
    * A `/items/{item_id}` _útvonalnak_ van egy _path paramétere_, az `item_id`, aminek `int` típusúnak kell lennie.
    * A `/items/{item_id}` _útvonalnak_ még van egy opcionális, `str` típusú _query paramétere_ is, a `q`.
    
    ### Interaktív API dokumentáció
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/index.md

    依赖项就是一个函数,且可以使用与*路径操作函数*相同的参数:
    
    ```Python hl_lines="8-11"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    大功告成。
    
    只用了**2 行**代码。
    
    依赖项函数的形式和结构与*路径操作函数*一样。
    
    因此,可以把依赖项当作没有「装饰器」(即,没有 `@app.get("/some-path")` )的路径操作函数。
    
    依赖项可以返回各种内容。
    
    本例中的依赖项预期接收如下参数:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值是 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值是 `100`
    
    然后,依赖项函数返回包含这些值的 `dict`。
    
    ### 导入 `Depends`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 7K bytes
    - Viewed (0)
Back to top