Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for can (0.39 sec)

  1. docs/en/docs/tutorial/metadata.md

    ## Docs URLs
    
    You can configure the two documentation user interfaces included:
    
    * **Swagger UI**: served at `/docs`.
        * You can set its URL with the parameter `docs_url`.
        * You can disable it by setting `docs_url=None`.
    * **ReDoc**: served at `/redoc`.
        * You can set its URL with the parameter `redoc_url`.
        * You can disable it by setting `redoc_url=None`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. docs/en/docs/reference/websockets.md

    When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it.
    
    It is provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi import WebSocket
    ```
    
    !!! tip
        When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    #### Union
    
    You can declare that a variable can be any of **several types**, for example, an `int` or a `str`.
    
    In Python 3.6 and above (including Python 3.10) you can use the `Union` type from `typing` and put inside the square brackets the possible types to accept.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/first-steps.md

    This is of course not the frontend for the final users, but it's a great automatic tool to document interactively all your API.
    
    It can be used by the frontend team (that can also be yourself).
    
    It can be used by third party applications and systems.
    
    And it can also be used by yourself, to debug, check and test the same application.
    
    ## The `password` flow
    
    Now let's go back a bit and understand what is all that.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/concepts.md

    * Any program, any code, **can only do things** when it is being **executed**. So, when there's a **process running**.
    * The process can be **terminated** (or "killed") by you, or by the operating system. At that point, it stops running/being executed, and it can **no longer do things**.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/https.md

    Some of the options you could use as a TLS Termination Proxy are:
    
    * Traefik (that can also handle certificate renewals)
    * Caddy (that can also handle certificate renewals)
    * Nginx
    * HAProxy
    
    ## Let's Encrypt
    
    Before Let's Encrypt, these **HTTPS certificates** were sold by trusted third parties.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/bigger-applications.md

    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    You can think of `APIRouter` as a "mini `FastAPI`" class.
    
    All the same options are supported.
    
    All the same `parameters`, `responses`, `dependencies`, `tags`, etc.
    
    !!! tip
        In this example, the variable is called `router`, but you can name it however you want.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/nosql-databases-couchbase.md

    ```Python hl_lines="49-53"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ## Recap
    
    You can integrate any third party NoSQL database, just using their standard packages.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-multiple-params.md

    }
    ```
    
    ## Recap
    
    You can add multiple body parameters to your *path operation function*, even though a request can only have a single body.
    
    But **FastAPI** will handle it, give you the correct data in your function, and validate and document the correct schema in the *path operation*.
    
    You can also declare singular values to be received as part of the body.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-forms-and-files.md

        ```
    
    The files and form fields will be uploaded as form data and you will receive the files and form fields.
    
    And you can declare some of the files as `bytes` and some as `UploadFile`.
    
    !!! warning
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top