- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,637 for noen (0.02 seconds)
-
tests/test_filter_pydantic_sub_model_pv2.py
app = FastAPI() class ModelB(BaseModel): username: str class ModelC(ModelB): password: str class ModelA(BaseModel): name: str description: str | None = None foo: ModelB tags: dict[str, str] = {} @field_validator("name") def lower_username(cls, name: str, info: ValidationInfo): if not name.endswith("A"):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.7K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image01.py
import subprocess from playwright.sync_api import Playwright, sync_playwright # Run playwright codegen to generate the code below, copy paste the sections in run() def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 974 bytes - Click Count (0) -
docs/zh/docs/tutorial/metadata.md
如果你想完全禁用 OpenAPI 模式,可以将其设置为 `openapi_url=None`,这样也会禁用使用它的文档用户界面。 ## 文档 URLs { #docs-urls } 你可以配置两个文档用户界面,包括: - **Swagger UI**:服务于 `/docs`。 - 可以使用参数 `docs_url` 设置它的 URL。 - 可以通过设置 `docs_url=None` 禁用它。 - **ReDoc**:服务于 `/redoc`。 - 可以使用参数 `redoc_url` 设置它的 URL。 - 可以通过设置 `redoc_url=None` 禁用它。 例如,设置 Swagger UI 服务于 `/documentation` 并禁用 ReDoc:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharsetsTest.java
@J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16be() { assertThat(Charsets.UTF_16BE).isEqualTo(Charset.forName("UTF-16BE")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16le() { assertThat(Charsets.UTF_16LE).isEqualTo(Charset.forName("UTF-16LE")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 12:37:39 GMT 2026 - 2.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java
*/ boolean contains(@Nonnull Version version); /** * Returns the upper boundary of this range, or {@code null} if none. */ @Nullable Boundary getUpperBoundary(); /** * Returns the lower boundary of this range, or {@code null} if none. */ @Nullable Boundary getLowerBoundary(); /** * {@return the string representation of this version} */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) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java
*/ @Deprecated(since = "4.0.0") public interface ToolchainsBuildingRequest { /** * Gets the global toolchains source. * * @return The global toolchains source or {@code null} if none. */ Source getGlobalToolchainsSource(); /** * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains * take precedence. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 2.3K bytes - Click Count (0) -
docs/en/docs/js/custom.js
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:59:48 GMT 2026 - 7.7K bytes - Click Count (2) -
scripts/playwright/separate_openapi_schemas/image04.py
import subprocess from playwright.sync_api import Playwright, sync_playwright # Run playwright codegen to generate the code below, copy paste the sections in run() def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1K bytes - Click Count (0) -
tests/test_additional_properties_bool.py
class FooBaseModel(BaseModel): model_config = ConfigDict(extra="forbid") class Foo(FooBaseModel): pass app = FastAPI() @app.post("/") async def post( foo: Foo | None = None, ): return foo client = TestClient(app) def test_call_invalid(): response = client.post("/", json={"foo": {"bar": "baz"}}) assert response.status_code == 422
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
* * @param args * the constructor arguments * @return a {@link ConstructorDesc} that matches the arguments, or {@literal null} if none exists */ protected ConstructorDesc findSuitableConstructorDesc(final Object... args) { for (final ConstructorDesc constructorDesc : constructorDescs) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 25.8K bytes - Click Count (1)