- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for Fettig (0.23 sec)
-
docs/en/docs/how-to/configure-swagger-ui.md
For example, you could disable syntax highlighting in Swagger UI. Without changing the settings, syntax highlighting is enabled by default: <img src="/img/tutorial/extending-openapi/image02.png"> But you can disable it by setting `syntaxHighlight` to `False`: ```Python hl_lines="3" {!../../../docs_src/configure_swagger_ui/tutorial001.py!} ``` ...and then Swagger UI won't show the syntax highlighting anymore:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.8K bytes - Viewed (0) -
docs_src/bigger_applications/app_an_py39/internal/admin.py
from fastapi import APIRouter router = APIRouter() @router.post("/") async def update_admin():
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 147 bytes - Viewed (0) -
docs_src/bigger_applications/app_an/internal/admin.py
from fastapi import APIRouter router = APIRouter() @router.post("/") async def update_admin():
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 147 bytes - Viewed (0) -
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
client = TestClient(tutorial001.app) return client @needs_pydanticv2 def test_disable_openapi(monkeypatch): monkeypatch.setenv("OPENAPI_URL", "") # Load the client after setting the env var client = get_client() response = client.get("/openapi.json") assert response.status_code == 404, response.text response = client.get("/docs") assert response.status_code == 404, response.text
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 1.8K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
FastAPI will still be able to override it. Then you can reset your overrides (remove them) by setting `app.dependency_overrides` to be an empty `dict`: ```Python app.dependency_overrides = {} ``` !!! tip
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 2.9K bytes - Viewed (0) -
docs/zh/docs/deployment/deta.md
deta [command] Available Commands: auth Change auth settings for a deta micro ... ``` </div> !!! tip "提示" 安装 CLI 遇到问题时,请参阅 <a href="https://docs.deta.sh/docs/micros/getting_started?ref=fastapi" class="external-link" target="_blank">Deta 官档</a>。 ## 使用 CLI 登录 现在,使用 CLI 登录 Deta: <div class="termy"> ```console $ deta login
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sun Jan 28 18:06:55 GMT 2024 - 5.1K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
!!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="10" {!> ../../../docs_src/header_params/tutorial002.py!} ``` !!! warning Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores. ## Duplicate headers
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.8K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model.
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) -
docs/en/docs/tutorial/handling-errors.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
``` </div> !!! tip To set multiple env vars for a single command just separate them with a space, and put them all before the command. And then the `admin_email` setting would be set to `"******@****.***"`. The `app_name` would be `"ChimichangApp"`. And the `items_per_user` would keep its default value of `50`. ## Settings in another module
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 15.7K bytes - Viewed (0)