- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 1,637 for noen (0.14 seconds)
-
tests/test_dependencies_utils.py
from fastapi.dependencies.utils import get_typed_annotation def test_get_typed_annotation(): # For coverage annotation = "None" typed_annotation = get_typed_annotation(annotation, globals())
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 241 bytes - Click Count (0) -
docs_src/cookie_params/tutorial001_py310.py
from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") async def read_items(ads_id: str | None = Cookie(default=None)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 170 bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt
"Field finalField: From non-nullable to nullable breaking change.", "Method com.example.Source.foo(): From non-null returning to null returning breaking change." ) assertHasNoWarning() assertHasNoInformation() } } @Test fun `from null accepting to non-null accepting is breaking`() { checkNotBinaryCompatibleJava(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-multiple-params.md
首先,當然你可以自由混用 `Path`、`Query` 與請求 Body 參數的宣告,**FastAPI** 會知道該怎麼做。 你也可以將 Body 參數宣告為可選,方法是將預設值設為 `None`: {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *} /// note | 注意 請注意,在此情況下,從 body 取得的 `item` 是可選的,因為它的預設值是 `None`。 /// ## 多個 Body 參數 { #multiple-body-parameters } 在前一個範例中,路徑操作(path operation)會期望一個包含 `Item` 屬性的 JSON 主體,例如: ```JSON {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 4.6K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial001_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 239 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
// Verify instance def is SESSION assertEquals(InstanceDefFactory.SESSION, pagerCreator.getInstanceDef()); // Verify auto binding def is NONE assertEquals(AutoBindingDefFactory.NONE, pagerCreator.getAutoBindingDef()); } // Test getPagerCustomizer when no customizer is set @Test public void test_getPagerCustomizer_null() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.7K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial014_py310.py
from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( hidden_query: str | None = Query(default=None, include_in_schema=False), ): if hidden_query: return {"hidden_query": hidden_query} else:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 298 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial014_an_py310.py
from typing import Annotated from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( hidden_query: Annotated[str | None, Query(include_in_schema=False)] = None, ): if hidden_query: return {"hidden_query": hidden_query} else:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 331 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java
/** * Returns the range of this constraint, or {@code null} if none. * <p> * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value. */ @Nullable VersionRange getVersionRange(); /** * Returns the recommended version of this constraint, or {@code null} if none. * <p>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial009_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 281 bytes - Click Count (0)