- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 552 for stub (0.04 seconds)
-
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
# 子依赖项 { #sub-dependencies } FastAPI 支持创建含**子依赖项**的依赖项。 并且,可以按需声明任意**深度**的子依赖项嵌套层级。 **FastAPI** 负责处理解析不同深度的子依赖项。 ## 第一层依赖项 “dependable” { #first-dependency-dependable } 你可以创建一个第一层依赖项(“dependable”),如下: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} 这段代码声明了类型为 `str` 的可选查询参数 `q`,然后返回这个查询参数。 这个函数很简单(不过也没什么用),但却有助于让我们专注于了解子依赖项的工作方式。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 3.8K bytes - Click Count (0) -
docs/tr/docs/tutorial/dependencies/sub-dependencies.md
# Alt Bağımlılıklar { #sub-dependencies } **Alt bağımlılıkları** olan bağımlılıklar oluşturabilirsiniz. İhtiyacınız olduğu kadar **derine** gidebilirler. Bunları çözme işini **FastAPI** üstlenir. ## İlk bağımlılık "dependable" { #first-dependency-dependable } Şöyle bir ilk bağımlılık ("dependable") oluşturabilirsiniz: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:41:38 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/sub-dependencies.md
# Подзависимости { #sub-dependencies } Вы можете создавать зависимости, которые имеют **подзависимости**. Их **вложенность** может быть любой глубины. **FastAPI** сам займётся их управлением. ## Первая зависимость { #first-dependency-dependable } Можно создать первую зависимость следующим образом: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 19:57:34 GMT 2026 - 6.4K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/sub-dependencies.md
# Sous-dépendances { #sub-dependencies } Vous pouvez créer des dépendances qui ont des sous-dépendances. Elles peuvent être aussi profondes que nécessaire. **FastAPI** se chargera de les résoudre. ## Créer une première dépendance « dependable » { #first-dependency-dependable } Vous pouvez créer une première dépendance (« dependable ») comme : {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/sub-dependencies.md
# Subdependências { #sub-dependencies } Você pode criar dependências que possuem **subdependências**. Elas podem ter o nível de **profundidade** que você achar necessário. O **FastAPI** se encarrega de resolver essas dependências. ## Primeira dependência "dependable" { #first-dependency-dependable } Você pode criar uma primeira dependência ("dependable") dessa forma: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 4.1K bytes - Click Count (0) -
internal/pubsub/pubsub.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 06 16:57:30 GMT 2024 - 5.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
sub.into("snippets"); sub.exclude("**/.gradle/**"); sub.exclude("**/build/**"); sub.setIncludeEmptyDirs(false); }); task.from(extension.getCssFiles(), sub -> sub.into("css")); task.from(extension.getUserManual().getRoot().dir("img"), sub -> {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 17.8K bytes - Click Count (0) -
tests/test_dependency_cache.py
@app.get("/counter/") async def get_counter(count: int = Depends(dep_counter)): return {"counter": count} @app.get("/sub-counter/") async def get_sub_counter( subcount: int = Depends(super_dep), count: int = Depends(dep_counter) ): return {"counter": count, "subcounter": subcount} @app.get("/sub-counter-no-cache/") async def get_sub_counter_no_cache( subcount: int = Depends(super_dep),
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Aug 23 13:30:24 GMT 2022 - 2.7K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/arm.s
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Dec 15 20:51:01 GMT 2023 - 69K bytes - Click Count (0) -
tests/test_openapi_separate_input_output_schemas.py
== response2.json() == {"name": "Plumbus", "description": None, "sub": None} ) def test_create_item_with_sub(): client = get_app_client() client_no = get_app_client(separate_input_output_schemas=False) data = { "name": "Plumbus", "sub": {"subname": "SubPlumbus", "sub_description": "Sub WTF"}, } response = client.post("/items/", json=data)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 27.8K bytes - Click Count (0)