Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for James (0.14 sec)

  1. docs/en/docs/tutorial/body-multiple-params.md

        ```
    
    In this case, **FastAPI** will notice that there are more than one body parameters in the function (two parameters that are Pydantic models).
    
    So, it will then use the parameter names as keys (field names) in the body, and expect a body like:
    
    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        },
        "user": {
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    I think `Union[SomeType, None]` is more explicit about what it means.
    
    It's just about the words and names. But those words can affect how you and your teammates think about the code.
    
    As an example, let's take this function:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial009c.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    * 📝 Add External Link: FastAPI application monitoring made easy. PR [#10917](https://github.com/tiangolo/fastapi/pull/10917) by [@tiangolo](https://github.com/tiangolo).
    * ✨ Generate automatic language names for docs translations. PR [#5354](https://github.com/tiangolo/fastapi/pull/5354) by [@jakul](https://github.com/jakul).
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 19:30:49 GMT 2024
    - 384.6K bytes
    - Viewed (1)
  4. docs/en/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image06.png">
    
    In this case you have:
    
    * `ItemsService`
    * `UsersService`
    
    ### Client Method Names
    
    Right now the generated method names like `createItemItemsPost` don't look very clean:
    
    ```TypeScript
    ItemsService.createItemItemsPost({name: "Plumbus", price: 5})
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/middleware.md

    ```Python hl_lines="2  6-8"
    {!../../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    The following arguments are supported:
    
    * `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains. To allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/manually.md

    * <a href="https://github.com/django/daphne" class="external-link" target="_blank">Daphne</a>: the ASGI server built for Django Channels.
    
    ## Server Machine and Server Program
    
    There's a small detail about names to keep in mind. 💡
    
    The word "**server**" is commonly used to refer to both the remote/cloud computer (the physical or virtual machine) and also the program that is running on that machine (e.g. Uvicorn).
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params.md

    !!! tip
        If you are wondering, "AlexNet", "ResNet", and "LeNet" are just names of Machine Learning <abbr title="Technically, Deep Learning model architectures">models</abbr>.
    
    ### Declare a *path parameter*
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/en/docs/alternatives.md

        return {"message": "Hello World"}
    ```
    
    See the similarities in `requests.get(...)` and `@app.get(...)`.
    
    !!! check "Inspired **FastAPI** to"
        * Have a simple and intuitive API.
        * Use HTTP method names (operations) directly, in a straightforward and intuitive way.
        * Have sensible defaults, but powerful customizations.
    
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    But don't worry, you can show it as you wish to your final users in the frontend.
    
    And your database models can use any other names you want.
    
    But for the login *path operation*, we need to use these names to be compatible with the spec (and be able to, for example, use the integrated API documentation system).
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

    The most secure is the code flow, but is more complex to implement as it requires more steps. As it is more complex, many providers end up suggesting the implicit flow.
    
    !!! note
        It's common that each authentication provider names their flows in a different way, to make it part of their brand.
    
        But in the end, they are implementing the same OAuth2 standard.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top