- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 209 for forbid (0.04 seconds)
-
android/guava/src/com/google/common/cache/ParametricNullness.java
* <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/math/ParametricNullness.java
* <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/net/ParametricNullness.java
* <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/html/ParametricNullness.java
* <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/ParametricNullness.java
* <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (1) -
android/guava/src/com/google/common/primitives/ParametricNullness.java
* <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
guava/src/com/google/common/xml/ParametricNullness.java
* <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/header-param-models.md
<div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## 禁止额外的 Headers 在某些特殊使用情况下(可能并不常见),您可能希望**限制**您想要接收的 headers。 您可以使用 Pydantic 的模型配置来禁止( `forbid` )任何额外( `extra` )字段: {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *} 如果客户尝试发送一些**额外的 headers**,他们将收到**错误**响应。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 15 16:44:11 GMT 2024 - 1.7K bytes - Click Count (0) -
docs/de/docs/tutorial/request-form-models.md
Sie können dies in der Dokumentations-UI unter `/docs` testen: <div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Zusätzliche Formularfelder verbieten { #forbid-extra-form-fields }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 2.7K bytes - Click Count (0) -
tests/test_additional_properties_bool.py
from typing import Union from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel, ConfigDict class FooBaseModel(BaseModel): model_config = ConfigDict(extra="forbid") class Foo(FooBaseModel): pass app = FastAPI() @app.post("/") async def post( foo: Union[Foo, None] = None, ): return foo client = TestClient(app)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.7K bytes - Click Count (0)