Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for supplied (0.16 sec)

  1. fastapi/param_functions.py

                """
            ),
        ] = None,
        strict: Annotated[
            Union[bool, None],
            Doc(
                """
                If `True`, strict validation is applied to the field.
                """
            ),
        ] = _Unset,
        multiple_of: Annotated[
            Union[float, 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)
  2. docs/en/docs/tutorial/bigger-applications.md

    async def read_item(item_id: str):
        ...
    ```
    
    ...the prefix must not include a final `/`.
    
    So, the prefix in this case is `/items`.
    
    We can also add a list of `tags` and extra `responses` that will be applied to all the *path operations* included in this router.
    
    And we can add a list of `dependencies` that will be added to all the *path operations* in the router and will be executed/solved for each request made to them.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

            * This is useful, for example, to require authentication or permissions in specific group of *path operations*.
            * Different `dependencies` can be applied to different routers.
        * These `dependencies` are run before the normal parameter dependencies. And normal dependencies are run too. They can be combined.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  4. fastapi/applications.py

                ),
            ] = None,
            dependencies: Annotated[
                Optional[Sequence[Depends]],
                Doc(
                    """
                    A list of global dependencies, they will be applied to each
                    *path operation*, including in sub-routers.
    
                    Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

        ```
    
    !!! info
        The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec.
    
        Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
        In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
        You can actually skip that extra header and it would still work.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. fastapi/routing.py

            tags: Annotated[
                Optional[List[Union[str, Enum]]],
                Doc(
                    """
                    A list of tags to be applied to all the *path operations* in this
                    router.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top