Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for Sven (0.12 sec)

  1. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005.py!}
        ```
    
    Let's focus on the parameters declared:
    
    * Even though this function is a dependency ("dependable") itself, it also declares another dependency (it "depends" on something else).
        * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    In this example we pass `Union[PlaneItem, CarItem]` as the value of the argument `response_model`.
    
    Because we are passing it as a **value to an argument** instead of putting it in a **type annotation**, we have to use `Union` even in Python 3.10.
    
    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/request-files.md

    ### Multiple File Uploads with Additional Metadata
    
    And the same way as before, you can use `File()` to set additional parameters, even for `UploadFile`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="11  18-20"
        {!> ../../../docs_src/request_files/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/en/docs/async.md

    For "synchronous" (contrary to "asynchronous") they commonly also use the term "sequential", because the computer / program follows all the steps in sequence before switching to a different task, even if those steps involve waiting.
    
    ### Concurrency and Burgers
    
    This idea of **asynchronous** code described above is also sometimes called **"concurrency"**. It is different from **"parallelism"**.
    
    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)
  5. docs/en/docs/advanced/async-tests.md

    If we want to call asynchronous functions in our tests, our test functions have to be asynchronous. AnyIO provides a neat plugin for this, that allows us to specify that some test functions are to be called asynchronously.
    
    ## HTTPX
    
    Even if your **FastAPI** application uses normal `def` functions instead of `async def`, it is still an `async` application underneath.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. .github/DISCUSSION_TEMPLATE/questions.yml

            By asking questions in a structured way (following this) it will be much easier to help you.
    
            And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎
    
    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)
  7. fastapi/applications.py

                    the client doesn't have to provide it.
    
                    But when using `Item` for output, for a response body, `tags` is always
                    available because it has a default value, even if it's just an empty
                    list. So, the client should be able to always expect it.
    
                    In this case, there would be two different schemas, one for input and
                    another one for output.
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/sql-databases-peewee.md

    ### Context variables
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (1)
  9. docs/en/docs/advanced/custom-response.md

    <img src="/img/tutorial/custom-response/image01.png">
    
    ## Available responses
    
    Here are some of the available responses.
    
    Keep in mind that you can use `Response` to return anything else, or even create a custom sub-class.
    
    !!! note "Technical Details"
        You could also use `from starlette.responses import HTMLResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. README.md

    ...and with that single declaration you get:
    
    * Editor support, including:
        * Completion.
        * Type checks.
    * Validation of data:
        * Automatic and clear errors when the data is invalid.
        * Validation even for deeply nested JSON objects.
    * <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of input data: coming from the network to Python data and types. Reading from:
        * JSON.
        * Path parameters.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top