Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 645 for Pythons (0.04 sec)

  1. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 518 bytes
    - Viewed (0)
  2. fastapi/security/oauth2.py

        Read more about it in the
        [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import OAuth2PasswordRequestForm
    
        app = FastAPI()
    
    
        @app.post("/login")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/graphql.md

        * Com <a href="https://tartiflette.github.io/tartiflette-asgi/" class="external-link" target="_blank">Tartiflette ASGI</a> para fornecer integração ASGI
    * <a href="https://graphene-python.org/" class="external-link" target="_blank">Graphene</a>
        * Com <a href="https://github.com/ciscorn/starlette-graphene3" class="external-link" target="_blank">starlette-graphene3</a>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/path-params-numeric-validations.md

    * declarar el parámetro de path `item_id` usando `Path`
    * tenerlos en un orden diferente
    * no usar `Annotated`
    
    ...Python tiene una sintaxis especial para eso.
    
    Pasa `*`, como el primer parámetro de la función.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/path-params-numeric-validations.md

    * den Pfad-Parameter `item_id` mit `Path` deklarieren
    * sie in einer anderen Reihenfolge haben
    * nicht `Annotated` verwenden
    
    ... möchten, dann hat Python eine kleine Spezial-Syntax dafür.
    
    Übergeben Sie `*`, als den ersten Parameter der Funktion.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001_py39.py hl[10,12:13] *}
    
    /// tip | Примечание
    
    Мы используем <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> вместо `time.time()` для обеспечения большей точности наших примеров. 🤓
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/response-status-code.md

    ///
    
    Параметр `status_code` приймає число, яке відповідає HTTP коду статусу.
    
    /// info | Інформація
    `status_code` також може отримувати значення з `IntEnum`, наприклад, з Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Він буде:
    
    * Повертати вказаний код статусу у відповіді.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Mar 19 17:04:17 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ……查询参数为:
    
    * `skip`:值为 `0`
    * `limit`:值为 `10`
    
    这些值都是 URL 的组成部分,因此,它们的类型**本应**是字符串。
    
    但声明 Python 类型(上例中为 `int`)之后,这些值就会转换为声明的类型,并进行类型校验。
    
    所有应用于路径参数的流程也适用于查询参数:
    
    * (显而易见的)编辑器支持
    * 数据<abbr title="将来自 HTTP 请求的字符串转换为 Python 数据类型">**解析**</abbr>
    * 数据校验
    * API 文档
    
    ## 默认值
    
    查询参数不是路径的固定内容,它是可选的,还支持默认值。
    
    上例用 `skip=0` 和 `limit=10` 设定默认值。
    
    访问 URL:
    
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. docs/en/docs/reference/security/index.md

    You can import them from `fastapi.security`:
    
    ```python
    from fastapi.security import (
        APIKeyCookie,
        APIKeyHeader,
        APIKeyQuery,
        HTTPAuthorizationCredentials,
        HTTPBasic,
        HTTPBasicCredentials,
        HTTPBearer,
        HTTPDigest,
        OAuth2,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
Back to top