- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 199 for Next (0.13 sec)
-
docs/en/docs/tutorial/path-params.md
You can use the same type declarations with `str`, `float`, `bool` and many other complex data types. Several of these are explored in the next chapters of the tutorial. ## Order matters When creating *path operations*, you can find situations where you have a fixed path. Like `/users/me`, let's say that it's to get data about the current user.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
But I'll show you how to improve that next. π€ ## Custom Operation IDs and Better Method Names You can **modify** the way these operation IDs are **generated** to make them simpler and have **simpler method names** in the clients.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/middleware.md
λ§μ½ (λμ€μ λ¬Έμμμ λ€λ£°) λ°±κ·ΈλΌμ΄λ μμ μ΄ μλ€λ©΄, λͺ¨λ λ―Έλ€μ¨μ΄κ° μ€νλκ³ *λ νμ* μ€νλ©λλ€. ## λ―Έλ€μ¨μ΄ λ§λ€κΈ° λ―Έλ€μ¨μ΄λ₯Ό μμ±νκΈ° μν΄μ ν¨μ μλ¨μ `@app.middleware("http")` λ°μ½λ μ΄ν°λ₯Ό μ¬μ©ν μ μμ΅λλ€. λ―Έλ€μ¨μ΄ ν¨μλ λ€μ νλͺ©λ€μ λ°μ΅λλ€: * `request`. * `request`λ₯Ό 맀κ°λ³μλ‘ λ°λ `call_next` ν¨μ. * μ΄ ν¨μλ `request`λ₯Ό ν΄λΉνλ *κ²½λ‘ μμ *μΌλ‘ μ λ¬ν©λλ€. * κ·Έλ° λ€μ, *κ²½λ‘ μμ *μ μν΄ μμ±λ `response` λ₯Ό λ°νν©λλ€. * `response`λ₯Ό λ°ννκΈ° μ μ μΆκ°λ‘ `response`λ₯Ό μμ ν μ μμ΅λλ€. ```Python hl_lines="8-9 11 14"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Jan 31 14:35:27 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
That way, the same route class can handle gzip compressed or uncompressed requests. ```Python hl_lines="8-15" {!../../../docs_src/custom_request_and_route/tutorial001.py!} ``` ### Create a custom `GzipRoute` class Next, we create a custom subclass of `fastapi.routing.APIRoute` that will make use of the `GzipRequest`. This time, it will overwrite the method `APIRoute.get_route_handler()`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/en/docs/alternatives.md
This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep. Given the simplicity of Flask, it seemed like a good match for building APIs. The next thing to find was a "Django REST Framework" for Flask. !!! check "Inspired **FastAPI** to" Be a micro-framework. Making it easy to mix and match the tools and parts needed.
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/de/docs/how-to/custom-docs-ui-assets.md
* <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a> Und **ReDoc** verwendet diese Datei: * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a> Danach kΓΆnnte Ihre Dateistruktur wie folgt aussehen: ``` . βββ app βΒ Β βββ __init__.py βΒ Β βββ main.py
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:17:36 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/en/docs/advanced/index.md
The main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} should be enough to give you a tour through all the main features of **FastAPI**. In the next sections you will see other options, configurations, and additional features. !!! tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. ## Read the Tutorial first
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/zh/docs/advanced/extending-openapi.md
* <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@3/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a> **ReDoc** δ½Ώη¨ε¦δΈζδ»ΆοΌ * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a> δΏεε₯½εοΌζδ»ΆζΆζζη€Ίε¦δΈοΌ ``` . βββ app βΒ Β βββ __init__.py βΒ Β βββ main.py βββ static
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Mar 30 22:46:12 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
The only new thing is the `callbacks=invoices_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next. ## Documenting the callback The actual callback code will depend heavily on your own API app. And it will probably vary a lot from one app to the next. It could be just one or two lines of code, like: ```Python callback_url = "https://example.com/api/v1/invoices/events/"
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/tutorial/security/oauth2-jwt.md
But it's signed. So, when you receive a token that you emitted, you can verify that you actually emitted it. That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13K bytes - Viewed (0)