Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 681 for Python (0.04 sec)

  1. docs/en/docs/fastapi-cli.md

    ```
    
    </div>
    
    The command line program called `fastapi` is **FastAPI CLI**.
    
    FastAPI CLI takes the path to your Python program (e.g. `main.py`) and automatically detects the `FastAPI` instance (commonly named `app`), determines the correct import process, and then serves it.
    
    For production you would use `fastapi run` instead. ๐Ÿš€
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial001.py hl[30:35] *}
    
    `PUT` โš™๏ธ ๐Ÿ“จ ๐Ÿ’ฝ ๐Ÿ‘ˆ ๐Ÿ”œ โŽ โ™ป ๐Ÿ’ฝ.
    
    ### โš  ๐Ÿ”ƒ โŽ
    
    ๐Ÿ‘ˆ โ›“ ๐Ÿ‘ˆ ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ’š โ„น ๐Ÿฌ `bar` โš™๏ธ `PUT` โฎ๏ธ ๐Ÿ’ช โš—:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    โ†ฉ๏ธ โšซ๏ธ ๐Ÿšซ ๐Ÿ”Œ โช ๐Ÿช ๐Ÿ”ข `"tax": 20.2`, ๐Ÿ”ข ๐Ÿท ๐Ÿ”œ โœŠ ๐Ÿ”ข ๐Ÿ’ฒ `"tax": 10.5`.
    
    &amp; ๐Ÿ“Š ๐Ÿ”œ ๐Ÿ–Š โฎ๏ธ ๐Ÿ‘ˆ "๐Ÿ†•" `tax` `10.5`.
    
    ## ๐Ÿ• โ„น โฎ๏ธ `PATCH`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 11:27:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. docs/en/docs/benchmarks.md

    But when checking benchmarks and comparisons you should keep the following in mind.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003.py hl[80:83] *}
    
    #### ๐Ÿ”ƒ `**user_dict`
    
    `UserInDB(**user_dict)` โ›“:
    
    *๐Ÿšถโ€โ™€๏ธ ๐Ÿ”‘ &amp; ๐Ÿ’ฒ `user_dict` ๐Ÿ”— ๐Ÿ”‘-๐Ÿ’ฒ โŒ, ๐ŸŒ“:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/es/docs/deployment/server-workers.md

    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     โ•ญโ”€ <font color="#8AE234"><b>Python module file</b></font> โ”€โ•ฎ
     โ”‚                      โ”‚
     โ”‚  ๐Ÿ main.py          โ”‚
     โ”‚                      โ”‚
     โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
    
    <font color="#3465A4">INFO    </font> Importing module <font color="#4E9A06">main</font>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. docs/ko/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    ํŒŒ์ด์ฌ์—์„œ **์ปจํ…์ŠคํŠธ ๋งค๋‹ˆ์ €**๋Š” `with` ๋ฌธ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, `open()`์€ ์ปจํ…์ŠคํŠธ ๋งค๋‹ˆ์ €๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    ์ตœ๊ทผ ๋ฒ„์ „์˜ ํŒŒ์ด์ฌ์—์„œ๋Š” **๋น„๋™๊ธฐ ์ปจํ…์ŠคํŠธ ๋งค๋‹ˆ์ €**๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฅผ `async with`์™€ ํ•จ๊ป˜ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:33:53 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/security/oauth2-jwt.md

    ## Instalar `PyJWT`
    
    Nรณs precisamos instalar o `PyJWT` para criar e verificar os tokens JWT em Python.
    
    Certifique-se de criar um [ambiente virtual](../../virtual-environments.md){.internal-link target=_blank}, ativรก-lo e entรฃo instalar o `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. docs/ko/docs/deployment/server-workers.md

            ```Python
            from main import app
            ```
    
        * ๊ณง, `main:app`์•ˆ์— ์žˆ๋Š” ์ฝœ๋ก ์˜ ์˜๋ฏธ๋Š” ํŒŒ์ด์ฌ์—์„œ `from main import app`์—์„œ์˜ `import`์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.
    * `--workers`: ์‚ฌ์šฉํ•  ์›Œ์ปค ํ”„๋กœ์„ธ์Šค์˜ ๊ฐœ์ˆ˜์ด๋ฉฐ ์ˆซ์ž๋งŒํผ์˜ ์œ ๋น„์ฝ˜ ์›Œ์ปค๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ์ด ์˜ˆ์ œ์—์„œ๋Š” 4๊ฐœ์˜ ์›Œ์ปค๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.
    * `--worker-class`: ์›Œ์ปค ํ”„๋กœ์„ธ์Šค์—์„œ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•œ ๊ตฌ๋‹ˆ์ฝ˜๊ณผ ํ˜ธํ™˜๋˜๋Š” ์›Œ์ปคํด๋ž˜์Šค.
        * ์ด๋Ÿฐ์‹์œผ๋กœ ๊ตฌ๋‹ˆ์ฝ˜์ด importํ•˜์—ฌ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ํด๋ž˜์Šค๋ฅผ ์ „๋‹ฌํ•ด์ค๋‹ˆ๋‹ค:
    
            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/body-updates.md

    `PUT` se usa para recibir datos que deben reemplazar los datos existentes.
    
    ### Advertencia sobre el reemplazo
    
    Esto significa que si quieres actualizar el รญtem `bar` usando `PUT` con un body que contenga:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    debido a que no incluye el atributo ya almacenado `"tax": 20.2`, el modelo de entrada tomarรญa el valor por defecto de `"tax": 10.5`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/body-updates.md

    ### Warnung bezรผglich des Ersetzens
    
    Das bedeutet, dass, wenn Sie den Artikel `bar` aktualisieren wollen, mittels `PUT` und folgendem Body:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    das Eingabemodell nun den Defaultwert `"tax": 10.5` hat, weil Sie das bereits gespeicherte Attribut `"tax": 20.2` nicht mit รผbergeben haben.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top