Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for laking (0.2 sec)

  1. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/concepts.md

    * Systemd
    * Supervisor
    * Handled internally by a cloud provider as part of their services
    * Others...
    
    I'll give you more concrete examples in the next chapters.
    
    ## Restarts
    
    Similar to making sure your application is run on startup, you probably also want to make sure it is **restarted** after failures.
    
    ### We Make Mistakes
    
    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)
  3. docs/en/docs/release-notes.md

    * Allow having empty paths in *path operations* used with `include_router` and a `prefix`.
        * This allows having a router for `/cats` and all its *path operations*, while having one of them for `/cats`.
        * Now it doesn't have to be only `/cats/` (with a trailing slash).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  4. docs/en/docs/advanced/events.md

    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Because this code is executed before the application **starts** taking requests, and right after it **finishes** handling requests, it covers the whole application **lifespan** (the word "lifespan" will be important in a second 😉).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    systems is data "<abbr title="also called marshalling, conversion">serialization</abbr>" which is taking data from the code (Python) and converting it into something that can be sent through the network. For example, converting an object containing data from a database into a JSON object. Converting `datetime` objects into strings, etc.
    
    Another big feature needed by APIs is data validation, making sure that the data is valid, given certain parameters. For example, that some field is an `int`,...
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/dataclasses.md

    !!! info
        Keep in mind that dataclasses can't do everything Pydantic models can do.
    
        So, you might still need to use Pydantic models.
    
        But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ## Dataclasses in `response_model`
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    ```Python hl_lines="1  7-13  19"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. .github/DISCUSSION_TEMPLATE/questions.yml

    labels: [question]
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for your interest in FastAPI! 🚀
    
            Please follow these instructions, fill every question, and do every step. 🙏
    
            I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.
    
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  8. docs/en/docs/async.md

    ---
    
    Imagine you are the computer / program 🤖 in that story.
    
    While you are at the line, you are just idle 😴, waiting for your turn, not doing anything very "productive". But the line is fast because the cashier is only taking the orders (not preparing them), so that's fine.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. docs/en/docs/help-fastapi.md

    Those two tasks are what **consume time the most**. That's the main work of maintaining FastAPI.
    
    If you can help me with that, **you are helping me maintain FastAPI** and making sure it keeps **advancing faster and better**. 🚀
    
    ## Join the chat
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  10. docs/en/docs/project-generation.md

    # Full Stack FastAPI Template
    
    Templates, while typically come with a specific setup, are designed to be flexible and customizable. This allows you to modify and adapt them to your project's requirements, making them an excellent starting point. 🏁
    
    You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 21 21:12:21 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top