Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for multiples (0.18 sec)

  1. docs/fr/docs/tutorial/body.md

    ## Sans Pydantic
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/fr/docs/async.md

    ### Dépendances
    
    La même chose s'applique aux dépendances. Si une dépendance est définie avec `def` plutôt que `async def`, elle est exécutée dans la threadpool externe.
    
    ### Sous-dépendances
    
    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)
  3. fastapi/params.py

                gt=gt,
                ge=ge,
                lt=lt,
                le=le,
                min_length=min_length,
                max_length=max_length,
                discriminator=discriminator,
                multiple_of=multiple_of,
                allow_nan=allow_inf_nan,
                max_digits=max_digits,
                decimal_places=decimal_places,
                **extra,
            )
            if examples is not None:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  4. fastapi/param_functions.py

            Doc(
                """
                If `True`, strict validation is applied to the field.
                """
            ),
        ] = _Unset,
        multiple_of: Annotated[
            Union[float, None],
            Doc(
                """
                Value must be a multiple of this. Only applicable to numbers.
                """
            ),
        ] = _Unset,
        allow_inf_nan: Annotated[
            Union[bool, None],
            Doc(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

        each OAuth2 flow.
    
        You normally would not create a new class inheriting from it but use one of the
        existing subclasses, and maybe compose them if you want to support multiple flows.
    
        Read more about it in the
        [FastAPI docs for Security](https://fastapi.tiangolo.com/tutorial/security/).
        """
    
        def __init__(
            self,
            *,
            flows: Annotated[
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  6. fastapi/security/http.py

                    This is useful when you want to have optional authentication.
    
                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, in HTTP Basic
                    authentication or in an HTTP Bearer token).
                    """
                ),
            ] = True,
        ):
    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)
  7. docs/en/docs/tutorial/response-model.md

    The same would happen if you had something like a <abbr title='A union between multiple types means "any of these types".'>union</abbr> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥:
    
    === "Python 3.10+"
    
        ```Python hl_lines="8"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/body.md

        `Union[str, None]`에 있는 `Union`은 FastAPI에 의해 사용된 것이 아니지만, 편집기로 하여금 더 나은 지원과 에러 탐지를 지원할 것입니다.
    
    ## Pydantic없이
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/en/docs/alternatives.md

        * Django REST Framework
        * Starlette (in which **FastAPI** is based)
        * Uvicorn (used by Starlette and **FastAPI**)
    
    !!! check "Inspired **FastAPI** to"
        Exist.
    
        The idea of declaring multiple things (data validation, serialization and documentation) with the same Python types, that at the same time provided great editor support, was something I considered a brilliant idea.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/body-multiple-params.md

    まず、もちろん、`Path`と`Query`とリクエストボディのパラメータの宣言は自由に混ぜることができ、 **FastAPI** は何をするべきかを知っています。
    
    また、デフォルトの`None`を設定することで、ボディパラメータをオプションとして宣言することもできます:
    
    ```Python hl_lines="19 20 21"
    {!../../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    !!! note "備考"
        この場合、ボディから取得する`item`はオプションであることに注意してください。デフォルト値は`None`です。
    
    ## 複数のボディパラメータ
    
    上述の例では、*path operations*は`item`の属性を持つ以下のようなJSONボディを期待していました:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:48:41 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top