Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for preserve (0.38 sec)

  1. pyproject.toml

    "docs_src/dependencies/tutorial008b_an_py39.py" = ["B904"]
    
    
    [tool.ruff.lint.isort]
    known-third-party = ["fastapi", "pydantic", "starlette"]
    
    [tool.ruff.lint.pyupgrade]
    # Preserve types, even if a file imports `from __future__ import annotations`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py

        assert (
            "SwaggerUIBundle.presets.apis," in response.text
        ), "default configs should be preserved"
        assert (
            "SwaggerUIBundle.SwaggerUIStandalonePreset" in response.text
        ), "default configs should be preserved"
        assert (
            '"layout": "BaseLayout",' in response.text
        ), "default configs should be preserved"
        assert (
            '"showExtensions": true,' in response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

        But because **FastAPI** is based on the Python standards, including `Annotated`, you can use this trick in your code. 😎
    
    The dependencies will keep working as expected, and the **best part** is that the **type information will be preserved**, which means that your editor will be able to keep providing you with **autocompletion**, **inline errors**, etc. The same for other tools like `mypy`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/pt/docs/index.md

        * Verifica que tem um atributo obrigatório `name` que deve ser `str`.
        * Verifica que tem um atributo obrigatório `price` que deve ser `float`.
        * Verifica que tem an atributo opcional `is_offer`, que deve ser `bool`, se presente.
        * Tudo isso também funciona para objetos JSON profundamente aninhados.
    * Converter de e para JSON automaticamente.
    * Documentar tudo com OpenAPI, que poderá ser usado por:
        * Sistemas de documentação interativos.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/sql-databases-peewee.md

    Then the next question would be, why not just connect and disconnect the database in the `async` dependency itself, instead of in `get_db()`?
    
    The `async` dependency has to be `async` for the context variable to be preserved for the rest of the request, but creating and closing the database connection is potentially blocking, so it could degrade performance if it was there.
    
    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 (0)
  6. tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py

        ), "default configs should be preserved"
        assert "presets: [" in response.text, "default configs should be preserved"
        assert (
            "SwaggerUIBundle.presets.apis," in response.text
        ), "default configs should be preserved"
        assert (
            "SwaggerUIBundle.SwaggerUIStandalonePreset" in response.text
        ), "default configs should be preserved"
        assert (
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. docs/pt/docs/deployment/docker.md

    #### Docker Compose
    
    Você pode estar implantando em um **único servidor** (não em um cluster) com o **Docker Compose**, então você não teria uma maneira fácil de gerenciar a replicação de contêineres (com o Docker Compose) enquanto preserva a rede compartilhada e o **balanceamento de carga**.
    
    Então você pode querer ter **um único contêiner** com um **gerenciador de processos** iniciando **vários processos trabalhadores** dentro.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

        Because it uses `./poetry.lock*` (ending with a `*`), it won't crash if that file is not available yet.
    
    5. Generate the `requirements.txt` file.
    
    6. This is the final stage, anything here will be preserved in the final container image.
    
    7. Set the current working directory to `/code`.
    
    8. Copy the `requirements.txt` file to the `/code` directory.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py

        ), "default configs should be preserved"
        assert "presets: [" in response.text, "default configs should be preserved"
        assert (
            "SwaggerUIBundle.presets.apis," in response.text
        ), "default configs should be preserved"
        assert (
            "SwaggerUIBundle.SwaggerUIStandalonePreset" in response.text
        ), "default configs should be preserved"
        assert (
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * ✨ Allow custom middlewares to raise `HTTPException`s and propagate them. PR [#2036](https://github.com/tiangolo/fastapi/pull/2036) by [@ghandic](https://github.com/ghandic).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top