- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Sanders (0.15 sec)
-
docs/en/docs/how-to/async-sql-encode-databases.md
So, you will be able to see it all in the interactive API docs. ## Connect and disconnect * Create your `FastAPI` application. * Create event handlers to connect and disconnect from the database. ```Python hl_lines="42 45-47 50-52" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` ## Read notes Create the *path operation function* to read notes:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* [Override the default exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#override-the-default-exception-handlers). * [Re-use **FastAPI's** exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#re-use-fastapis-exception-handlers). * PR [#273](https://github.com/tiangolo/fastapi/pull/273).
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) -
docs/en/mkdocs.yml
advanced/conditional-openapi.md: how-to/conditional-openapi.md advanced/extending-openapi.md: how-to/extending-openapi.md mkdocstrings: handlers: python: options: extensions: - griffe_typingdoc show_root_heading: true show_if_no_docstring: true preload_modules: - httpx
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
You can probably skip this part. There's an alternative way to define this logic to be executed during *startup* and during *shutdown*.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
您看到可以使用带有 `yield` 的依赖项,并且具有捕获异常的 `try` 块。 在 `yield` 后抛出 `HTTPException` 或类似的异常是很诱人的,但是**这不起作用**。 带有`yield`的依赖中的退出代码在响应发送之后执行,因此[异常处理程序](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}已经运行过。没有任何东西可以捕获退出代码(在`yield`之后)中的依赖抛出的异常。 所以,如果在`yield`之后抛出`HTTPException`,默认(或任何自定义)异常处理程序捕获`HTTPException`并返回HTTP 400响应的机制将不再能够捕获该异常。 这就是允许在依赖中设置的任何东西(例如数据库会话(DB session))可以被后台任务使用的原因。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/de/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.1K bytes - Viewed (0)