- Sort Score
- Result 10 results
- Languages All
Results 1911 - 1920 of 3,843 for getE (0.04 sec)
-
docs_src/response_model/tutorial001.py
price: float tax: Union[float, None] = None tags: List[str] = [] @app.post("/items/", response_model=Item) async def create_item(item: Item) -> Any: return item @app.get("/items/", response_model=List[Item]) async def read_items() -> Any: return [ {"name": "Portal Gun", "price": 42.0}, {"name": "Plumbus", "price": 32.0},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 562 bytes - Viewed (0) -
docs_src/response_model/tutorial004_py310.py
"bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2}, "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, } @app.get("/items/{item_id}", response_model=Item, response_model_exclude_unset=True) async def read_item(item_id: str):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 595 bytes - Viewed (0) -
docs_src/dependencies/tutorial004_py310.py
class CommonQueryParams: def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: CommonQueryParams = Depends()): response = {} if commons.q: response.update({"q": commons.q}) items = fake_items_db[commons.skip : commons.skip + commons.limit]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 607 bytes - Viewed (0) -
docs_src/settings/app02/test_main.py
def get_settings_override(): return Settings(admin_email="******@****.***") app.dependency_overrides[get_settings] = get_settings_override def test_app(): response = client.get("/info") data = response.json() assert data == { "app_name": "Awesome API", "admin_email": "******@****.***", "items_per_user": 50,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 29 09:26:07 UTC 2021 - 515 bytes - Viewed (0) -
docs_src/dependencies/tutorial011.py
def __call__(self, q: str = ""): if q: return self.fixed_content in q return False checker = FixedContentQueryChecker("bar") @app.get("/query-checker/") async def read_query_check(fixed_content_included: bool = Depends(checker)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 504 bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ParametricNullness.java
* ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless * of the type argument supplied by the user of the class: For example, {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/ParametricNullness.java
* ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless * of the type argument supplied by the user of the class: For example, {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Enums.java
@GwtIncompatible @J2ktIncompatible @ElementTypesAreNonnullByDefault public final class Enums { private Enums() {} /** * Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 26 11:56:44 UTC 2023 - 5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java
} pos = metaDataRepository.get(candidateClassName); } String outerClassName = classMetaData.getOuterClassName(); while (outerClassName != null) { if (name.equals(StringUtils.substringAfterLast(outerClassName, "."))) { return outerClassName; } ClassMetaData outerClass = metaDataRepository.get(outerClassName);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
} } } } for (String key : versions.keySet()) { if (versions.get(key) == null && managedVersions.get(key) == null) { InputLocation location = plugins.get(key).getLocation(""); problems.add(new ModelProblemCollectorRequest(Severity.WARNING, ModelProblem.Version.V20)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)