Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 190 for Python (0.14 sec)

  1. docs/de/docs/tutorial/path-params.md

    Erstellen Sie dann Klassen-Attribute mit festgelegten Werten, welches die erlaubten Werte sein werden:
    
    ```Python hl_lines="1  6-9"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! info
        <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerationen (oder kurz Enums)</a> gibt es in Python seit Version 3.4.
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/response-model.md

    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="18  23"
        {!> ../../../docs_src/response_model/tutorial001_01.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ &amp; 🔛"
    
        ```Python hl_lines="18  23"
        {!> ../../../docs_src/response_model/tutorial001_01_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="16  21"
        {!> ../../../docs_src/response_model/tutorial001_01_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 16K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/settings.md

    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. fastapi/security/http.py

        `username` and the `password`.
    
        Read more about it in the
        [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
        app = FastAPI()
    
        security = HTTPBasic()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/sql-databases.md

        ```Python
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    * `sql_app/crud.py`:
    
    ```Python
    {!../../../docs_src/sql_databases/sql_app/crud.py!}
    ```
    
    * `sql_app/main.py`:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python
        {!> ../../../docs_src/sql_databases/sql_app/main.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ &amp; 🔛"
    
        ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  6. docs/hu/docs/index.md

    Ezt standard modern Python típusokkal csinálod.
    
    Nem kell új szintaxist, vagy specifikus könyvtár mert metódósait, stb. megtanulnod.
    
    Csak standard **Python**.
    
    Például egy `int`-nek:
    
    ```Python
    item_id: int
    ```
    
    Egy komplexebb `Item` modellnek:
    
    ```Python
    item: Item
    ```
    
    ... És csupán egy deklarációval megkapod a:
    
    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)
  7. docs/es/docs/index.md

    Lo haces con tipos modernos estándar de Python.
    
    No tienes que aprender una sintaxis nueva, los métodos o clases de una library específica, etc.
    
    Solo **Python** estándar.
    
    Por ejemplo, para un `int`:
    
    ```Python
    item_id: int
    ```
    
    o para un modelo más complejo de `Item`:
    
    ```Python
    item: Item
    ```
    
    ...y con esa única declaración obtienes:
    
    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)
  8. docs/pt/docs/async.md

    A maioria dos frameworks Python existentes mais populares (incluindo Flask e Django) foram criados antes que os novos recursos assíncronos existissem em Python. Então, os meios que eles podem ser colocados em produção para suportar execução paralela mais a forma antiga de execução assíncrona não são tão poderosos quanto as novas capacidades.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  9. docs/pt/docs/contributing.md

    ### Ambiente virtual com `venv`
    
    Você pode criar um ambiente virtual em um diretório utilizando o módulo `venv` do Python:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Isso criará o diretório `./env/` com os binários Python e então você será capaz de instalar pacotes nesse ambiente isolado.
    
    ### Ativar o ambiente
    
    Ative o novo ambiente com:
    
    === "Linux, macOS"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  10. docs/fr/docs/async.md

    ## `async` et `await`
    
    Les versions modernes de Python ont une manière très intuitive de définir le code asynchrone, tout en gardant une apparence de code "séquentiel" classique en laissant Python faire l'attente pour vous au bon moment.
    
    Pour une opération qui nécessite de l'attente avant de donner un résultat et qui supporte ces nouvelles fonctionnalités Python, vous pouvez l'utiliser comme tel :
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top