Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 873 for Python3 (0.05 sec)

  1. docs/em/docs/deployment/server-workers.md

        * 👆 💪 🌈 👈 `main:app` 🌓 🐍 `import` 📄 💖:
    
            ```Python
            from main import app
            ```
    
        * , ❤ `main:app` 🔜 🌓 🐍 `import` 🍕 `from main import app`.
    * `--workers`: 🔢 👨‍🏭 🛠️ ⚙️, 🔠 🔜 🏃 Uvicorn 👨‍🏭, 👉 💼, 4️⃣ 👨‍🏭.
    * `--worker-class`: 🐁-🔗 👨‍🏭 🎓 ⚙️ 👨‍🏭 🛠️.
        * 📥 👥 🚶‍♀️ 🎓 👈 🐁 💪 🗄 & ⚙️ ⏮️:
    
            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. docs/sts/client-grants.py

    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    
    import logging
    
    import boto3
    from boto3.session import Session
    from botocore.session import get_session
    
    from client_grants import ClientGrantsCredentialProvider
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    bc_session = get_session()
    bc_session.get_component('credential_provider').insert_before(
        'env',
        ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/static-files.md

    ## Использование `StaticFiles`
    
    * Импортируйте `StaticFiles`.
    * "Примонтируйте" экземпляр `StaticFiles()` с указанием определенной директории.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "Технические детали"
    
    Вы также можете использовать `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/config/openapi/openapi-user.yaml

              required: false
              style: form
              explode: true
              schema:
                type: array
                items:
                  type: string
                example: [python]
          responses:
            '200':
              description: Successful operation
              content:
                application/json:
                  schema:
                    type: object
                    properties:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/first-steps.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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/index.md

    Vielleicht möchten Sie ihre Kurse ausprobieren:
    
    * <a href="https://training.talkpython.fm/fastapi-courses" class="external-link" target="_blank">Talk Python Training</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/query-params.md

    * `skip` : avec une valeur de`0`
    * `limit` : avec une valeur de `10`
    
    Faisant partie de l'URL, ces valeurs sont des chaînes de caractères (`str`).
    
    Mais quand on les déclare avec des types Python (dans l'exemple précédent, en tant qu'`int`), elles sont converties dans les types renseignés.
    
    Toutes les fonctionnalités qui s'appliquent aux paramètres de chemin s'appliquent aussi aux paramètres de requête :
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:06:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/response-directly.md

    예를 들어, Pydantic 모델을 `dict`로 변환해 `JSONResponse`에 넣지 않으면 JSON 호환 유형으로 변환된 데이터 유형(예: `datetime`, `UUID` 등)이 사용되지 않습니다.
    
    이러한 경우, 데이터를 응답에 전달하기 전에 `jsonable_encoder`를 사용하여 변환할 수 있습니다:
    
    ```Python hl_lines="6-7 21-22"
    {!../../docs_src/response_directly/tutorial001.py!}
    ```
    
    /// note | "기술적 세부 사항"
    
    `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 20:00:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/response-directly.md

    由于 **FastAPI** 并未对你返回的 `Response` 做任何改变,你必须确保你已经准备好响应内容。
    
    例如,如果不首先将 Pydantic 模型转换为 `dict`,并将所有数据类型(如 `datetime`、`UUID` 等)转换为兼容 JSON 的类型,则不能将其放入JSONResponse中。
    
    对于这些情况,在将数据传递给响应之前,你可以使用 `jsonable_encoder` 来转换你的数据。
    
    
    ```Python hl_lines="4 6 20 21"
    {!../../docs_src/response_directly/tutorial001.py!}
    ```
    
    /// note | "技术细节"
    
    你也可以使用 `from starlette.responses import JSONResponse`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/static-files.md

    ## `StaticFiles` verwenden
    
    * Importieren Sie `StaticFiles`.
    * „Mounten“ Sie eine `StaticFiles()`-Instanz in einem bestimmten Pfad.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "Technische Details"
    
    Sie könnten auch `from starlette.staticfiles import StaticFiles` verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top