Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for doing (0.4 sec)

  1. docs/en/docs/deployment/versions.md

    You can create production applications with **FastAPI** right now (and you have probably been doing it for some time), you just have to make sure that you use a version that works correctly with the rest of your code.
    
    ## Pin your `fastapi` version
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Nov 05 20:50:37 GMT 2020
    - 3.3K bytes
    - Viewed (0)
  2. docs/en/docs/alternatives.md

    Flask is a "microframework", it doesn't include database integrations nor many of the things that come by default in Django.
    
    This simplicity and flexibility allow doing things like using NoSQL databases as the main data storage system.
    
    As it is very simple, it's relatively intuitive to learn, although the documentation gets somewhat technical at some points.
    
    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)
  3. docs/en/docs/advanced/using-request-directly.md

    # Using the Request Directly
    
    Up to now, you have been declaring the parts of the request that you need with their types.
    
    Taking data from:
    
    * The path as parameters.
    * Headers.
    * Cookies.
    * etc.
    
    And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically.
    
    But there are situations where you might need to access the `Request` object directly.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    Let's create a dependency `get_current_user`.
    
    Remember that dependencies can have sub-dependencies?
    
    `get_current_user` will have a dependency with the same `oauth2_scheme` we created before.
    
    The same as we were doing before in the *path operation* directly, our new dependency `get_current_user` will receive a `token` as a `str` from the sub-dependency `oauth2_scheme`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="25"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/async.md

    But as you go away from the counter and sit at the table with a number for your turn, you can switch 🔀 your attention to your crush, and "work" ⏯ 🤓 on that. Then you are again doing something very "productive" as is flirting with your crush 😍.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    The only thing the function returned by `GzipRequest.get_route_handler` does differently is convert the `Request` to a `GzipRequest`.
    
    Doing this, our `GzipRequest` will take care of decompressing the data (if necessary) before passing it to our *path operations*.
    
    After that, all of the processing logic is the same.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. .github/DISCUSSION_TEMPLATE/questions.yml

            That's a lot of work they are doing, but if more FastAPI users came to help others like them just a little bit more, it would be much less effort for them (and you and me 😅).
    
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  8. docs/en/docs/how-to/async-sql-encode-databases.md

    ```Python hl_lines="4  14  16-22"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    !!! tip
        Notice that all this code is pure SQLAlchemy Core.
    
        `databases` is not doing anything here yet.
    
    ## Import and set up `databases`
    
    * Import `databases`.
    * Create a `DATABASE_URL`.
    * Create a `database` object.
    
    ```Python hl_lines="3  9  12"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    !!! danger
        Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing.
    
    ## Add an output model
    
    We can instead create an input model with the plaintext password and an output model without it:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9  11  16"
    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)
  10. docs/en/docs/deployment/concepts.md

    * A bash script that runs the previous steps and then starts your application
        * You would still need a way to start/restart *that* bash script, detect errors, etc.
    
    !!! tip
        I'll give you more concrete examples for doing this with containers in a future chapter: [FastAPI in Containers - Docker](docker.md){.internal-link target=_blank}.
    
    ## Resource Utilization
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top