- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 152 for decorators (0.11 seconds)
-
docs/pt/docs/advanced/security/oauth2-scopes.md
## `Security` em decoradores de `dependencies` { #security-in-decorator-dependencies }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 14.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/bigger-applications.md
我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。 我们可以添加一个 `dependencies` 列表,这些依赖项将被添加到路由器中的所有*路径操作*中,并将针对向它们发起的每个请求执行/解决。 /// tip 请注意,和[*路径操作装饰器*中的依赖项](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}很类似,没有值会被传递给你的*路径操作函数*。 /// 最终结果是项目相关的路径现在为: * `/items/` * `/items/{item_id}` ...如我们所愿。 * 它们将被标记为仅包含单个字符串 `"items"` 的标签列表。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun May 11 13:37:26 GMT 2025 - 18.4K bytes - Click Count (0) -
docs/en/docs/tutorial/first-steps.md
You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from). A "decorator" takes the function below and does something with it. In our case, this decorator tells **FastAPI** that the function below corresponds to the **path** `/` with an **operation** `get`. It is the "**path operation decorator**". /// You can also use the other operations:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.8K bytes - Click Count (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
## `Security` in Dekorator-`dependencies` { #security-in-decorator-dependencies }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 15.7K bytes - Click Count (0) -
docs/ru/docs/advanced/security/oauth2-scopes.md
## `Security` в параметре `dependencies` декоратора { #security-in-decorator-dependencies }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 20.7K 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) -
docs/pt/docs/alternatives.md
JavaScript, ele não pode depender dos tipos para definir validação, serialização e documentação ao mesmo tempo. Devido a isso e a algumas decisões de projeto, para obter validação, serialização e geração automática de schema, é necessário adicionar decorators em muitos lugares. Então, ele se torna bastante verboso. Ele não consegue lidar muito bem com modelos aninhados. Então, se o corpo JSON na requisição for um objeto JSON que contém campos internos que por sua vez são objetos JSON aninhados,...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 25.9K bytes - Click Count (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
**FastAPI** 的 `fastapi.security.oauth2` 里包含了所有 OAuth2 身份验证流工具。 ## 装饰器 `dependencies` 中的 `Security`
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 29 20:41:04 GMT 2024 - 11.6K bytes - Click Count (0) -
docs/en/docs/python-types.md
The important thing is that by using standard Python types, in a single place (instead of adding more classes, decorators, etc), **FastAPI** will do a lot of the work for you. /// info
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/en/docs/release-notes.md
* <a href="https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-in-path-operation-decorators/" class="external-link" target="_blank">Tutorial - Dependencies - Dependencies in path operation decorators</a>. * <a href="https://fastapi.tiangolo.com/tutorial/dependencies/global-dependencies/" class="external-link" target="_blank">Tutorial - Dependencies - Global Dependencies</a>.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0)