Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for lives (0.21 sec)

  1. docs/ru/docs/tutorial/dependencies/index.md

    === "Python 3.10+"
    
        ```Python hl_lines="8-9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="8-11"
        {!> ../../../docs_src/dependencies/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9-12"
        {!> ../../../docs_src/dependencies/tutorial001_an.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/index.md

    === "Python 3.10+"
    
        ```Python hl_lines="8-9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="8-11"
        {!> ../../../docs_src/dependencies/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9-12"
        {!> ../../../docs_src/dependencies/tutorial001_an.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/dependencies/index.md

    * オプショナルのクエリパラメータ`limit`は`int`で、デフォルトは`100`です。
    
    そして、これらの値を含む`dict`を返します。
    
    ### `Depends`のインポート
    
    ```Python hl_lines="3"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ### "dependant"での依存関係の宣言
    
    *path operation関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます:
    
    ```Python hl_lines="13  18"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. docs/hu/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Vagy használd az <code>async def</code>-et...</summary>
    
    Ha a kódod `async` / `await`-et, használ `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  5. docs/es/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>O usa <code>async def</code>...</summary>
    
    Si tu código usa `async` / `await`, usa `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    from typing import Union
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19K bytes
    - Viewed (0)
  6. docs/bn/docs/index.md

    ```
    
    <details markdown="1">
    <summary>অথবা ব্যবহার করুন <code>async def</code>...</summary>
    
    যদি আপনার কোড `async` / `await`, ব্যবহার করে তাহলে `async def` ব্যবহার করুন:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. docs/fr/docs/index.md

    * **Facile** : Conçu pour être facile à utiliser et à apprendre. Moins de temps passé à lire la documentation.
    * **Concis** : Diminue la duplication de code. De nombreuses fonctionnalités liées à la déclaration de chaque paramètre. Moins de bugs.
    * **Robuste** : Obtenez un code prêt pour la production. Avec une documentation interactive automatique.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  8. docs/uk/docs/index.md

    ```
    
    <details markdown="1">
    <summary>Або використайте <code>async def</code>...</summary>
    
    Якщо ваш код використовує `async` / `await`, скористайтеся `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  9. docs/tr/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Ya da <code>async def</code>...</summary>
    
    Eğer kodunuzda `async` / `await` varsa, `async def` kullanalım:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 22K bytes
    - Viewed (0)
  10. docs/em/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>⚖️ ⚙️ <code>async def</code>...</summary>
    
    🚥 👆 📟 ⚙️ `async` / `await`, ⚙️ `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top