- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Injectables (0.15 sec)
-
docs/en/docs/tutorial/dependencies/index.md
# Dependencies { #dependencies } **FastAPI** has a very powerful but intuitive **<abbr title="also known as components, resources, providers, services, injectables">Dependency Injection</abbr>** system. It is designed to be very simple to use, and to make it very easy for any developer to integrate other components with **FastAPI**. ## What is "Dependency Injection" { #what-is-dependency-injection }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/package-info.java
* which processes classes annotated with {@link org.apache.maven.api.di.Named} and creates an index file * that allows for efficient discovery of injectable components at runtime. * <p> * The generated index is stored at {@code META-INF/maven/org.apache.maven.api.di.Inject} and contains * the fully qualified names of all classes annotated with {@code @Named}. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 1.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/index.md
通过依赖注入系统,只要告诉 **FastAPI** *路径操作函数* 还要「依赖」其他在*路径操作函数*之前执行的内容,**FastAPI** 就会执行函数代码,并「注入」函数返回的结果。 其他与「依赖注入」概念相同的术语为: * 资源(Resource) * 提供方(Provider) * 服务(Service) * 可注入(Injectable) * 组件(Component) ## **FastAPI** 插件 **依赖注入**系统支持构建集成和「插件」。但实际上,FastAPI 根本**不需要创建「插件」**,因为使用依赖项可以声明不限数量的、可用于*路径操作函数*的集成与交互。 创建依赖项非常简单、直观,并且还支持导入 Python 包。毫不夸张地说,只要几行代码就可以把需要的 Python 包与 API 函数集成在一起。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7K bytes - Viewed (0)