- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 1,155 for noneOf (0.12 seconds)
-
docs/zh/docs/tutorial/sql-databases.md
终于,我们英雄的身份得到了保护!🥷 它还重新声明了 `id: int`。这样我们便与 API 客户端建立了一种**约定**,使他们始终可以期待 `id` 存在并且是一个整数 `int`(永远不会是 `None`)。 /// tip | 提示 确保返回模型始终提供一个值并且始终是 `int`(而不是 `None`)对 API 客户端非常有用,他们可以在这种确定性下编写更简单的代码。 此外,**自动生成的客户端**将拥有更简洁的接口,这样与你的 API 交互的开发者就能更轻松地使用你的 API。😎 /// `HeroPublic` 中的所有字段都与 `HeroBase` 中的相同,其中 `id` 声明为 `int`(不是 `None`): * `id` * `name` * `age`
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-updates.md
`PUT` 用於接收應該取代現有資料的資料。 ### 關於取代的警告 { #warning-about-replacing } 這表示,如果你想用 `PUT` 並在 body 中包含以下內容來更新項目 `bar`: ```Python { "name": "Barz", "price": 3, "description": None, } ``` 由於這裡沒有包含已儲存的屬性 `"tax": 20.2`,輸入的模型會採用預設值 `"tax": 10.5`。 最終資料會以這個「新的」 `tax` 值 `10.5` 被儲存。 ## 使用 `PATCH` 進行部分更新 { #partial-updates-with-patch }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy
import org.gradle.work.DisableCachingByDefault @CompileStatic @DisableCachingByDefault(because = "Only filters the input artifact") abstract class FindGradleClasspath implements TransformAction<TransformParameters.None> { @PathSensitive(PathSensitivity.NAME_ONLY) @InputArtifact abstract Provider<FileSystemLocation> getArtifact() @Override void transform(TransformOutputs outputs) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jul 07 13:12:26 GMT 2021 - 1.7K bytes - Click Count (0) -
guava-gwt/src/com/google/common/base/Base.gwt.xml
tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
MyTestSuiteBuilder builder = new MyTestSuiteBuilder(); Test test = builder .usingGenerator("yam") .named("yam") .withFeatures(CollectionFeature.NONE) .withSetUp(setUpRunnable) .withTearDown(tearDownRunnable) .createTestSuite(); TestResult result = new TestResult();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.1K bytes - Click Count (0) -
tests/test_read_with_orm_mode.py
from typing import Any from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel, ConfigDict def test_read_with_orm_mode() -> None: class PersonBase(BaseModel): name: str lastname: str class Person(PersonBase): @property def full_name(self) -> str: return f"{self.name} {self.lastname}"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 1.2K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
scopes, "UXXXXXXXX", "My Slack Group", "TXXXXXXXX"); client.initOauthSession(session); } client.awaitAccessToken(Timeout.NONE); client.startRtm(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
} /** * The {@code javax.tool} enumeration value corresponding to this {@code JavaPathType}, or {@code null} if none. * * @see #location() */ private final JavaFileManager.Location location; /** * The tools option for this path, or {@code null} if none. * * @see #option() */ private final String option; /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 15.7K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/mylasta/creator/PagerCreator.java
public PagerCreator(final NamingConvention namingConvention) { super(namingConvention); setNameSuffix(SUFFIX); setInstanceDef(InstanceDefFactory.SESSION); setAutoBindingDef(AutoBindingDefFactory.NONE); } public ComponentCustomizer getPagerCustomizer() { return getCustomizer(); } public void setPagerCustomizer(final ComponentCustomizer customizer) { setCustomizer(customizer);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
MyTestSuiteBuilder builder = new MyTestSuiteBuilder(); Test test = builder .usingGenerator("yam") .named("yam") .withFeatures(CollectionFeature.NONE) .withSetUp(setUpRunnable) .withTearDown(tearDownRunnable) .createTestSuite(); TestResult result = new TestResult();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.1K bytes - Click Count (0)