Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for things (0.21 sec)

  1. docs/en/docs/deployment/concepts.md

    * A particular program while it is **running** on the operating system.
        * This doesn't refer to the file, nor to the code, it refers **specifically** to the thing that is being **executed** and managed by the operating system.
    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)
  2. docs/en/docs/alternatives.md

    ### <a href="https://flask.palletsprojects.com" class="external-link" target="_blank">Flask</a>
    
    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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/conditional-openapi.md

    If you want to secure your API, there are several better things you can do, for example:
    
    * Make sure you have well defined Pydantic models for your request bodies and responses.
    * Configure any required permissions and roles using dependencies.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/manually.md

    This is the basic idea. But you will probably want to take care of some additional things, like:
    
    * Security - HTTPS
    * Running on startup
    * Restarts
    * Replication (the number of processes running)
    * Memory
    * Previous steps before starting
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-request-and-route.md

        And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
    
        To learn more about the `Request` check <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">Starlette's docs about Requests</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    So, to avoid ID collisions, when creating the JWT token for the user, you could prefix the value of the `sub` key, e.g. with `username:`. So, in this example, the value of `sub` could have been: `username:johndoe`.
    
    The important thing to keep in mind is that the `sub` key should have a unique identifier across the entire application, and it should be a string.
    
    ## Check it
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/generate-clients.md

    If you generate a client for a FastAPI app using tags, it will normally also separate the client code based on the tags.
    
    This way you will be able to have things ordered and grouped correctly for the client code:
    
    <img src="/img/tutorial/generate-clients/image06.png">
    
    In this case you have:
    
    * `ItemsService`
    * `UsersService`
    
    ### Client Method Names
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. 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**.
    
    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)
  9. docs/en/docs/deployment/https.md

    You would probably do this just once, the first time, when setting everything up.
    
    !!! tip
        This Domain Name part is way before HTTPS, but as everything depends on the domain and the IP address, it's worth mentioning it here.
    
    ### DNS
    
    Now let's focus on all the actual HTTPS parts.
    
    First, the browser would check with the **DNS servers** what is the **IP for the domain**, in this case, `someapp.example.com`.
    
    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)
  10. docs/en/docs/tutorial/response-model.md

        {!> ../../../docs_src/response_model/tutorial003_01.py!}
        ```
    
    With this, we get tooling support, from editors and mypy as this code is correct in terms of types, but we also get the data filtering from FastAPI.
    
    How does this work? Let's check that out. 🤓
    
    ### Type Annotations and Tooling
    
    First let's see how editors, mypy and other tools would see this.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
Back to top