Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 873 for Pythona (0.21 sec)

  1. requirements-docs.txt

    pyyaml >=5.3.1,<7.0.0
    # For Material for MkDocs, Chinese search
    jieba==0.42.1
    # For image processing by Material for MkDocs
    pillow==11.0.0
    # For image processing by Material for MkDocs
    cairosvg==2.7.1
    mkdocstrings[python]==0.26.1
    griffe-typingdoc==0.2.7
    # For griffe, it formats with black
    black==24.3.0
    mkdocs-macros-plugin==1.0.5
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:17:22 UTC 2024
    - 499 bytes
    - Viewed (0)
  2. docs/select/select.py

    #!/usr/bin/env/env python3
    import boto3
    
    s3 = boto3.client('s3',
                      endpoint_url='http://localhost:9000',
                      aws_access_key_id='minio',
                      aws_secret_access_key='minio123',
                      region_name='us-east-1')
    
    r = s3.select_object_content(
        Bucket='mycsvbucket',
        Key='sampledata/TotalPopulation.csv.gz',
        ExpressionType='SQL',
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 18 00:11:39 UTC 2018
    - 1K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/response-cookies.md

    # 응답 쿠키
    
    ## `Response` 매개변수 사용하기
    
    *경로 작동 함수*에서 `Response` 타입의 매개변수를 선언할 수 있습니다.
    
    그런 다음 해당 *임시* 응답 객체에서 쿠키를 설정할 수 있습니다.
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    그런 다음 필요한 객체(`dict`, 데이터베이스 모델 등)를 반환할 수 있습니다.
    
    그리고 `response_model`을 선언했다면 반환한 객체를 거르고 변환하는 데 여전히 사용됩니다.
    
    **FastAPI**는 그 *임시* 응답에서 쿠키(또한 헤더 및 상태 코드)를 추출하고, 반환된 값이 포함된 최종 응답에 이를 넣습니다. 이 값은 `response_model`로 걸러지게 됩니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:32:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/response-cookies.md

    # 响应Cookies
    
    ## 使用 `Response` 参数
    
    你可以在 *路径函数* 中定义一个类型为 `Response`的参数,这样你就可以在这个临时响应对象中设置cookie了。
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    而且你还可以根据你的需要响应不同的对象,比如常用的 `dict`,数据库model等。
    
    如果你定义了 `response_model`,程序会自动根据`response_model`来过滤和转换你响应的对象。
    
    **FastAPI** 会使用这个 *临时* 响应对象去装在这些cookies信息 (同样还有headers和状态码等信息), 最终会将这些信息和通过`response_model`转化过的数据合并到最终的响应里。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs/em/docs/contributing.md

    ## 🛠️
    
    🚥 👆 ⏪ 🖖 🗃 &amp; 👆 💭 👈 👆 💪 ⏬ 🤿 📟, 📥 📄 ⚒ 🆙 👆 🌐.
    
    ### 🕹 🌐 ⏮️ `venv`
    
    👆 💪 ✍ 🕹 🌐 📁 ⚙️ 🐍 `venv` 🕹:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    👈 🔜 ✍ 📁 `./env/` ⏮️ 🐍 💱 &amp; ⤴️ 👆 🔜 💪 ❎ 📦 👈 ❎ 🌐.
    
    ### 🔓 🌐
    
    🔓 🆕 🌐 ⏮️:
    
    //// tab | 💾, 🇸🇻
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. docs/en/docs/reference/request.md

    You can declare a parameter in a *path operation function* or dependency to be of type `Request` and then you can access the raw request object directly, without any validation, etc.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 518 bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/background-tasks.md

    ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。
    
    また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。
    
    ```Python hl_lines="6-9"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## バックグラウンドタスクの追加
    
    *path operations 関数* 内で、`.add_task()` メソッドを使用してタスク関数を *background tasks* オブジェクトに渡します。
    
    ```Python hl_lines="14"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` は以下の引数を受け取ります:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/behind-a-proxy.md

     &amp; `--root-path` 📋 ⏸ 🎛 🚚 👈 `root_path`.
    
    ///
    
    ### ✅ ⏮️ `root_path`
    
    👆 💪 🤚 ⏮️ `root_path` ⚙️ 👆 🈸 🔠 📨, ⚫️ 🍕 `scope` 📖 (👈 🍕 🔫 🔌).
    
    📥 👥 ✅ ⚫️ 📧 🎦 🎯.
    
    ```Python hl_lines="8"
    {!../../docs_src/behind_a_proxy/tutorial001.py!}
    ```
    
    ⤴️, 🚥 👆 ▶️ Uvicorn ⏮️:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    
    ### Step 3: Test on RabbitMQ
    
    The python program below waits on the queue exchange `bucketevents` and prints event notifications on the console. We use [Pika Python Client](https://www.rabbitmq.com/tutorials/tutorial-three-python.html) library to do this.
    
    ```py
    #!/usr/bin/env python
    import pika
    
    connection = pika.BlockingConnection(pika.ConnectionParameters(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/security/simple-oauth2.md

    ##### 为什么使用密码哈希
    
    原因很简单,假如数据库被盗,窃贼无法获取用户的明文密码,得到的只是哈希值。
    
    这样一来,窃贼就无法在其它应用中使用窃取的密码,要知道,很多用户在所有系统中都使用相同的密码,风险超大。
    
    ```Python hl_lines="80-83"
    {!../../docs_src/security/tutorial003.py!}
    ```
    
    #### 关于 `**user_dict`
    
    `UserInDB(**user_dict)` 是指:
    
    *直接把 `user_dict` 的键与值当作关键字参数传递,等效于:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        email = user_dict["email"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top