- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for something (5.68 sec)
-
docs/en/docs/async.md
Asynchronous code just means that the language đŦ has a way to tell the computer / program đ¤ that at some point in the code, it đ¤ will have to wait for *something else* to finish somewhere else. Let's say that *something else* is called "slow-file" đ. So, during that time, the computer can go and do some other work, while "slow-file" đ finishes.
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) -
docs/en/docs/tutorial/first-steps.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
### Async Context Manager If you check, the function is decorated with an `@asynccontextmanager`. That converts the function into something called an "**async context manager**". ```Python hl_lines="1 13" {!../../../docs_src/events/tutorial003.py!} ``` A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager: ```Python with open("file.txt") as file:
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/en/docs/deployment/concepts.md
We also saw that HTTPS is normally provided by a component **external** to your application server, a **TLS Termination Proxy**. And there has to be something in charge of **renewing the HTTPS certificates**, it could be the same component or it could be something different. ### Example Tools for HTTPS Some of the tools you could use as a TLS Termination Proxy are: * Traefik
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 18K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
"servers": [ { "url": "/api/v1" } ], "paths": { // More stuff here } } ``` In this example, the "Proxy" could be something like **Traefik**. And the server would be something like FastAPI CLI with **Uvicorn**, running your FastAPI application. ### Providing the `root_path` To achieve this, you can use the command line option `--root-path` like: <div class="termy">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 11.6K bytes - Viewed (2) -
docs/en/docs/advanced/openapi-callbacks.md
!!! tip The actual callback is just an HTTP request. When implementing the callback yourself, you could use something like <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a> or <a href="https://requests.readthedocs.io/" class="external-link" target="_blank">Requests</a>. ## Write the callback documentation code
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/how-to/async-sql-encode-databases.md
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/em/docs/python-types.md
{!../../../docs_src/python_types/tutorial009.py!} ``` âī¸ `Optional[str]` âŠī¸ `str` đ âĄī¸ đ¨âđ¨ âš đ đ â đâ đ đĒ đ¤ đ đ˛ đ§ `str`, đâ âĢī¸ đĒ đ¤ `None` đââī¸. `Optional[Something]` đ¤ ⨠`Union[Something, None]`, đĢ đ. đ â đ đ 3ī¸âŖ.1ī¸âŖ0ī¸âŖ, đ đĒ âī¸ `Something | None`: === "đ 3ī¸âŖ.6ī¸âŖ & đ" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial009.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0) -
docs/en/docs/alternatives.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
The `response_class` will then be used only to document the OpenAPI *path operation*, but your `Response` will be used as is. #### Return an `HTMLResponse` directly For example, it could be something like: ```Python hl_lines="7 21 23" {!../../../docs_src/custom_response/tutorial004.py!} ```
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)