- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 202 for injecting (0.09 seconds)
-
docs/zh/docs/tutorial/dependencies/index.md
# 依赖项 { #dependencies } **FastAPI** 提供了简单直观但功能强大的**<dfn title="也称为:组件、资源、提供者、服务、可注入项">依赖注入</dfn>**系统。 它被设计得非常易用,能让任何开发者都能轻松把其他组件与 **FastAPI** 集成。 ## 什么是「依赖注入」 { #what-is-dependency-injection } 在编程中,**「依赖注入」**指的是,你的代码(本文中为*路径操作函数*)声明其运行所需并要使用的东西:“依赖”。 然后,由该系统(本文中为 **FastAPI**)负责执行所有必要的逻辑,为你的代码提供这些所需的依赖(“注入”依赖)。 当你需要以下内容时,这非常有用: * 共享业务逻辑(同一段代码逻辑反复复用) * 共享数据库连接 * 实施安全、认证、角色权限等要求 * 以及更多其他内容... 同时尽量减少代码重复。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) -
src/main/java/jcifs/util/ServerResponseValidator.java
import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Validator for SMB server responses to prevent buffer overflow and injection attacks. * * Features: * - Buffer bounds checking * - Integer overflow prevention * - Size validation * - Protocol compliance checking * - Malformed response detection */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
fastapi/openapi/docs.py
from fastapi.encoders import jsonable_encoder from starlette.responses import HTMLResponse def _html_safe_json(value: Any) -> str: """Serialize a value to JSON with HTML special characters escaped. This prevents injection when the JSON is embedded inside a <script> tag. """ return ( json.dumps(value) .replace("<", "\\u003c") .replace(">", "\\u003e") .replace("&", "\\u0026") )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 12.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
Esse sistema foi pensado para ser fácil de usar, e permitir que qualquer desenvolvedor possa integrar facilmente outros componentes ao **FastAPI**. ## O que é "Injeção de Dependência" { #what-is-dependency-injection }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.6K bytes - Click Count (0) -
README.md
- **Multi-Threading**: Configurable thread pools for high-performance crawling - **Fault Tolerance**: Built-in retry mechanisms and error handling - **Flexible Configuration**: XML-based dependency injection with LastaFlute DI - **Extensible Architecture**: Plugin system for custom extractors, transformers, and clients - **Rate Limiting**: Politeness policies and interval controllers
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Aug 31 05:32:52 GMT 2025 - 15.3K bytes - Click Count (0) -
docs/pt/docs/features.md
Tudo construído como ferramentas e componentes reutilizáveis que são fáceis de integrar com seus sistemas, armazenamento de dados, banco de dados relacionais e não-relacionais etc. ### Injeção de dependência { #dependency-injection } FastAPI inclui um sistema de <dfn title='também conhecido como "componentes", "recursos", "serviços", "provedores"'><strong>injeção de dependência</strong></dfn> extremamente fácil de usar, mas extremamente poderoso.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* * <p><b>We recommend against using EventBus.</b> It was designed many years ago, and newer * libraries offer better ways to decouple components and react to events. * * <p>To decouple components, we recommend a dependency-injection framework. For Android code, most * apps use <a href="https://dagger.dev">Dagger</a>. For server code, common options include <a * href="https://github.com/google/guice/wiki/Motivation">Guice</a> and <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 12.7K bytes - Click Count (0) -
docs/fr/docs/_llm-test.md
* le Guide utilisateur avancé * la documentation SQLModel * la documentation de l’API * la documentation automatique * Data Science * Apprentissage profond * Apprentissage automatique * Injection de dépendances * authentification HTTP Basic * HTTP Digest * format ISO * la norme JSON Schema * le schéma JSON * la définition de schéma * Flux Password * Mobile * déprécié * conçu
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.8K bytes - Click Count (0) -
docs/zh/docs/features.md
* API 密钥,在: * 请求头。 * 查询参数。 * Cookies,等等。 加上来自 Starlette(包括 **session cookie**)的所有安全特性。 所有的这些都是可复用的工具和组件,可以轻松与你的系统,数据仓库,关系型以及 NoSQL 数据库等等集成。 ### 依赖注入 { #dependency-injection } FastAPI 有一个使用非常简单,但是非常强大的<dfn title='也称为 "components"、"resources"、"services"、"providers"'><strong>依赖注入</strong></dfn>系统。 * 甚至依赖也可以有依赖,创建一个层级或者**“图”依赖**。 * 所有**自动化处理**都由框架完成。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/ko/docs/features.md
* 헤더. * 쿼리 매개변수. * 쿠키 등. 추가로 Starlette의 모든 보안 기능(**세션 쿠키** 포함)도 제공합니다. 모두 재사용 가능한 도구와 컴포넌트로 만들어져 있어, 여러분의 시스템, 데이터 저장소, 관계형 및 NoSQL 데이터베이스 등과 쉽게 통합할 수 있습니다. ### 의존성 주입 { #dependency-injection } FastAPI는 사용하기 매우 쉽지만, 매우 강력한 <dfn title='또한 다음으로도 불림: "컴포넌트", "자원", "서비스", "제공자"'><strong>의존성 주입</strong></dfn> 시스템을 포함하고 있습니다. * 의존성도 의존성을 가질 수 있어, 의존성의 계층 또는 **의존성의 "그래프"**를 생성합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11K bytes - Click Count (0)