- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 184 for decorator (0.05 seconds)
-
docs/en/docs/advanced/additional-responses.md
## Additional Response with `model` { #additional-response-with-model } You can pass to your *path operation decorators* a parameter `responses`. It receives a `dict`: the keys are status codes for each response (like `200`), and the values are other `dict`s with the information for each of them.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
using them to decorate a function with a single `yield`. That's what **FastAPI** uses internally for dependencies with `yield`. But you don't have to use the decorators for FastAPI dependencies (and you shouldn't). FastAPI will do it for you internally.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.9K bytes - Click Count (0) -
docs/tr/docs/python-types.md
Önemli olan, standart Python türlerini tek bir yerde kullanarak (daha fazla sınıf, dekoratör vb. eklemek yerine), **FastAPI**'nin bizim için işi yapmasını sağlamak. /// info
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9.5K bytes - Click Count (0) -
api/maven-api-plugin/src/main/mdo/lifecycle.mdo
<version>2.0.0+</version> <type>String</type> <defaultValue><![CDATA[]]></defaultValue> <description><![CDATA[If specified, identifies this phase as a dynamic phase to decorate the specified phase id, e.g. {@code after} or {@code before}.]]></description> </field> <field xml.attribute="true"> <name>priority</name> <required>false</required>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/en/mkdocs.yml
- tutorial/dependencies/index.md - tutorial/dependencies/classes-as-dependencies.md - tutorial/dependencies/sub-dependencies.md - tutorial/dependencies/dependencies-in-path-operation-decorators.md - tutorial/dependencies/global-dependencies.md - tutorial/dependencies/dependencies-with-yield.md - Security: - tutorial/security/index.md - tutorial/security/first-steps.mdCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:44:55 GMT 2025 - 9.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/bigger-applications.md
/// tip | Подсказка Обратите внимание, что также, как и в случае с зависимостями в декораторах *эндпоинтов* ([зависимости в декораторах операций пути](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}), никакого значения в *функцию эндпоинта* передано не будет. /// В результате мы получим следующие эндпоинты: * `/items/` * `/items/{item_id}`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 30.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
E pronto. **2 linhas**. E com a mesma forma e estrutura de todas as suas *funções de operação de rota*. Você pode pensar nela como uma *função de operação de rota* sem o "decorador" (sem a linha `@app.get("/some-path")`). E com qualquer retorno que você desejar. Neste caso, a dependência espera por: * Um parâmetro de consulta opcional `q` do tipo `str`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.7K bytes - Click Count (0) -
docs/uk/docs/fastapi-cli.md
Для запуску Вашого FastAPI проекту для розробки, Ви можете скористатись командою `fastapi dev`: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u> <font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font>
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/index.md
## 運行程式碼 所有程式碼區塊都可以直接複製和使用(它們實際上是經過測試的 Python 檔案)。 要運行任何範例,請將程式碼複製到 `main.py` 檔案,並使用以下命令啟動 `fastapi dev`: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u> <font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font>
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 17 21:16:46 GMT 2024 - 5.9K bytes - Click Count (0) -
docs/en/docs/alternatives.md
compilation to JavaScript, it cannot rely on the types to define validation, serialization and documentation at the same time. Due to this and some design decisions, to get validation, serialization and automatic schema generation, it's needed to add decorators in many places. So, it becomes quite verbose. It can't handle nested models very well. So, if the JSON body in the request is a JSON object that has inner fields that in turn are nested JSON objects, it cannot be properly documented and...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 23.6K bytes - Click Count (0)