- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 1,045 for cython (0.05 seconds)
-
docs/en/docs/tutorial/first-steps.md
```python from main import app ``` If your code was structured like: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` Then you would set the `entrypoint` as: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` which would be equivalent to: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/de/docs/tutorial/first-steps.md
```python from main import app ``` Wenn Ihr Code so strukturiert wäre: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` Dann würden Sie den `entrypoint` so setzen: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` was äquivalent wäre zu: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 14.9K bytes - Click Count (0) -
docs/fr/docs/advanced/middleware.md
Ainsi, dans la documentation de middlewares ASGI tiers, on vous indiquera probablement de faire quelque chose comme : ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 4.7K bytes - Click Count (0) -
docs/pt/docs/advanced/async-tests.md
O `TestClient` é baseado no [HTTPX](https://www.python-httpx.org), e felizmente nós podemos utilizá-lo diretamente para testar a API. ## Exemplo { #example }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/en/docs/reference/fastapi.md
# `FastAPI` class Here's the reference information for the `FastAPI` class, with all its parameters, attributes and methods. You can import the `FastAPI` class directly from `fastapi`: ```python from fastapi import FastAPI ``` ::: fastapi.FastAPI options: members: - openapi_version - webhooks - state - dependency_overrides - openapiCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 701 bytes - Click Count (0) -
docs/de/docs/advanced/openapi-callbacks.md
Und er wird wahrscheinlich von Anwendung zu Anwendung sehr unterschiedlich sein. Es könnten nur eine oder zwei Codezeilen sein, wie zum Beispiel: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/zh/docs/advanced/additional-responses.md
你可能希望有一些适用于许多*路径操作*的预定义响应,但同时又想把它们与每个*路径操作*所需的自定义响应组合在一起。 在这些情况下,你可以使用 Python 的“解包”`dict` 的技巧 `**dict_to_unpack`: ```Python old_dict = { "old key": "old value", "second old key": "second old value", } new_dict = {**old_dict, "new key": "new value"} ``` 这里,`new_dict` 将包含来自 `old_dict` 的所有键值对,再加上新的键值对: ```Python { "old key": "old value", "second old key": "second old value",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/en/docs/release-notes.md
## 0.71.0 (2022-01-07) ### Features * ✨ Add docs and tests for Python 3.9 and Python 3.10. PR [#3712](https://github.com/tiangolo/fastapi/pull/3712) by [@tiangolo](https://github.com/tiangolo). * You can start with [Python Types Intro](https://fastapi.tiangolo.com/python-types/), it explains what changes between different Python versions, in Python 3.9 and in Python 3.10.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
{* ../../docs_src/middleware/tutorial001_py310.py hl[10,12:13] *} /// tip Here we use [`time.perf_counter()`](https://docs.python.org/3/library/time.html#time.perf_counter) instead of `time.time()` because it can be more precise for these use cases. 🤓 /// ## Multiple middleware execution order { #multiple-middleware-execution-order }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/pt/docs/advanced/middleware.md
No geral, os middlewares ASGI são classes que esperam receber um aplicativo ASGI como o primeiro argumento. Então, na documentação de middlewares ASGI de terceiros, eles provavelmente dirão para você fazer algo como: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.5K bytes - Click Count (0)