Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Bart (0.19 sec)

  1. fastapi/security/oauth2.py

        similar, and get the two parts `items` and `read`. Many applications do that to
        group and organize permissions, you could do it as well in your application, just
        know that that it is application specific, it's not part of the specification.
        """
    
        def __init__(
            self,
            *,
            grant_type: Annotated[
                Union[str, None],
                Form(pattern="password"),
                Doc(
    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)
  2. docs/en/docs/advanced/behind-a-proxy.md

        And the `--root-path` command line option provides that `root_path`.
    
    ### Checking the current `root_path`
    
    You can get the current `root_path` used by your application for each request, it is part of the `scope` dictionary (that's part of the ASGI spec).
    
    Here we are including it in the message just for demonstration purposes.
    
    ```Python hl_lines="8"
    {!../../../docs_src/behind_a_proxy/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  3. fastapi/security/http.py

        """
        The HTTP authorization credentials in the result of using `HTTPBearer` or
        `HTTPDigest` in a dependency.
    
        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
        Authorization: Bearer deadbeef12346
        ```
    
        In this case:
    
    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)
  4. docs/en/docs/tutorial/body-fields.md

    !!! warning
        Extra keys passed to `Field` will also be present in the resulting OpenAPI schema for your application.
        As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    
    ## Recap
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. docs/fr/docs/history-design-future.md

    > Quelle est l'histoire de ce projet ? Il semble être sorti de nulle part et est devenu génial en quelques semaines [...].
    
    Voici un petit bout de cette histoire.
    
    ## Alternatives
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params.md

    Using an option directly from Starlette you can declare a *path parameter* containing a *path* using a URL like:
    
    ```
    /files/{file_path:path}
    ```
    
    In this case, the name of the parameter is `file_path`, and the last part, `:path`, tells it that the parameter should match any *path*.
    
    So, you can use it with:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/first-steps.md

    This will be the main point of interaction to create all your API.
    
    ### Step 3: create a *path operation*
    
    #### Path
    
    "Path" here refers to the last part of the URL starting from the first `/`.
    
    So, in a URL like:
    
    ```
    https://example.com/items/foo
    ```
    
    ...the path would be:
    
    ```
    /items/foo
    ```
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. docs/en/docs/contributing.md

    * Do not change anything enclosed in "``" (inline code).
    
    * In lines starting with `===` or `!!!`, translate only the ` "... Text ..."` part. Leave the rest unchanged.
    
    * You can translate info boxes like `!!! warning` with for example `!!! warning "Achtung"`. But do not change the word immediately after the `!!!`, it determines the color of the info box.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-status-code.md

    ## About HTTP status codes
    
    !!! note
        If you already know what HTTP status codes are, skip to the next section.
    
    In HTTP, you send a numeric status code of 3 digits as part of the response.
    
    These status codes have a name associated to recognize them, but the important part is the number.
    
    In short:
    
    * `100` and above are for "Information". You rarely use them directly.  Responses with these status codes cannot have a body.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params.md

    # Query Parameters
    
    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top