Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 7,611 for you (0.02 sec)

  1. docs/en/docs/async.md

    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.
    
    Then, when it's your turn, you do actual "productive" work, you process the menu, decide what you want, get your crush's choice, pay, check that you give the correct bill or card, check that you are charged correctly, check that the order has the correct items, etc.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-08-28 23:33
    - 23.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc.
    
    ## Using the `jsonable_encoder` in a `Response`
    
    Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-09 16:39
    - 2.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/testing-dependencies.md

    ### Use cases: external service
    
    An example could be that you have an external authentication provider that you need to call.
    
    You send it a token and it returns an authenticated user.
    
    This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests.
    
    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-10 17:40
    - 2.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/openapi-webhooks.md

    You also define in some way at which **moments** your app will send those requests or events.
    
    And **your users** define in some way (for example in a web dashboard somewhere) the **URL** where your app should send those requests.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-10-28 10:38
    - 2.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-nested-models.md

    ## Bodies of arbitrary `dict`s
    
    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    This way, you don't have to know beforehand what the valid field/attribute names are (as would be the case with Pydantic models).
    
    This would be useful if you want to receive keys that you don't already know.
    
    ---
    
    Another useful case is when you want to have keys of another type (e.g., `int`).
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-09 15:10
    - 6.9K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-docs-ui-assets.md

    But it's possible to customize it, you can set a specific CDN, or serve the files yourself.
    
    ## Custom CDN for JavaScript and CSS
    
    Let's say that you want to use a different <abbr title="Content Delivery Network">CDN</abbr>, for example you want to use `https://unpkg.com/`.
    
    This could be useful if for example you live in a country that restricts some URLs.
    
    ### Disable the automatic docs
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-04-28 18:31
    - 7.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/security/oauth2-scopes.md

    If you don't select any scope, you will be "authenticated", but when you try to access `/users/me/` or `/users/me/items/` you will get an error saying that you don't have enough permissions. You will still be able to access `/status/`.
    
    And if you select the scope `me` but not the scope `items`, you will be able to access `/users/me/` but not `/users/me/items/`.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-09 16:39
    - 13.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/additional-responses.md

    /// warning
    
    This is a rather advanced topic.
    
    If you are starting with **FastAPI**, you might not need this.
    
    ///
    
    You can declare additional responses, with additional status codes, media types, descriptions, etc.
    
    Those additional responses will be included in the OpenAPI schema, so they will also appear in the API docs.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-10-27 16:07
    - 8.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/testing.md

    ////
    
    ### Extended testing file
    
    You could then update `test_main.py` with the extended tests:
    
    {* ../../docs_src/app_testing/app_b/test_main.py *}
    
    
    Whenever you need the client to pass information in the request and you don't know how to, you can search (Google) how to do it in `httpx`, or even how to do it with `requests`, as HTTPX's design is based on Requests' design.
    
    Then you just do the same in your tests.
    
    E.g.:
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 6.4K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/go-multierror/LICENSE

         warranty, support, indemnity, or liability obligation is offered by You
         alone, and You hereby agree to indemnify every Contributor for any
         liability incurred by such Contributor as a result of warranty, support,
         indemnity or liability terms You offer. You may include additional
         disclaimers of warranty and limitations of liability specific to any
         jurisdiction.
    
    Registered: 2025-05-28 22:53
    - Last Modified: 2019-10-26 02:47
    - 15.6K bytes
    - Viewed (0)
Back to top