- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 3,516 for get2 (0.03 sec)
-
tests/test_response_model_include_exclude.py
ref2: Model2 app = FastAPI() @app.get( "/simple_include", response_model=Model2, response_model_include={"baz": ..., "ref": {"foo"}}, ) def simple_include(): return Model2( ref=Model1(foo="simple_include model foo", bar="simple_include model bar"), baz="simple_include model2 baz", ) @app.get( "/simple_include_dict", response_model=Model2,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Jul 19 19:14:58 UTC 2021 - 4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt
import okhttp3.Protocol.Companion.get import org.junit.jupiter.api.Assertions.assertThrows import org.junit.jupiter.api.Test class ProtocolTest { @Test fun testGetKnown() { assertThat(get("http/1.0")).isEqualTo(Protocol.HTTP_1_0) assertThat(get("http/1.1")).isEqualTo(Protocol.HTTP_1_1) assertThat(get("spdy/3.1")).isEqualTo(Protocol.SPDY_3) assertThat(get("h2")).isEqualTo(Protocol.HTTP_2)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
for (final String role : roles) { if (StringUtil.isNotEmpty(role)) { roleSet.add(role); } } } } /** * Gets the current time in milliseconds. * @return The current time in milliseconds. */ protected long getCurrentTime() { return ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/WebConfigPager.java
versionNo = null; description = null; } /** * Gets the default current page number. * * @return The default current page number */ protected int getDefaultCurrentPageNumber() { return DEFAULT_CURRENT_PAGE_NUMBER; } /** * Gets the total number of records. * * @return The total record count */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.1K bytes - Viewed (0) -
tests/test_response_model_sub_types.py
class Model(BaseModel): name: str app = FastAPI() @app.get("/valid1", responses={"500": {"model": int}}) def valid1(): pass @app.get("/valid2", responses={"500": {"model": list[int]}}) def valid2(): pass @app.get("/valid3", responses={"500": {"model": Model}}) def valid3(): pass @app.get("/valid4", responses={"500": {"model": list[Model]}}) def valid4(): pass
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 5.2K bytes - Viewed (0) -
tests/test_infer_param_optionality.py
app = FastAPI() user_router = APIRouter() item_router = APIRouter() @user_router.get("/") def get_users(): return [{"user_id": "u1"}, {"user_id": "u2"}] @user_router.get("/{user_id}") def get_user(user_id: str): return {"user_id": user_id} @item_router.get("/") def get_items(user_id: Optional[str] = None): if user_id is None:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/query/StoredLtrQueryBuilder.java
} @Override protected int doHashCode() { return Objects.hash(modelName, featureSetName, storeName, params, activeFeatures); } /** * Gets the name of the LTR model. * * @return The model name. */ public String modelName() { return modelName; } /** * Sets the name of the LTR model. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
assertEquals(3, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]); assertEquals(value2, settings.array().get(key)[1]); assertEquals(value3, settings.array().get(key)[2]); settings.array().delete(key, value2); assertEquals(2, settings.array().get(key).length); assertEquals(value1, settings.array().get(key)[0]);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 13:04:17 UTC 2025 - 3.4K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/entity/PingResponse.java
} } /** * Gets the status. * * @return the status */ public int getStatus() { return status; } /** * Gets the cluster name. * * @return the cluster name */ public String getClusterName() { return clusterName; } /** * Gets the cluster status. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.4K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
} return null; } /** * Gets the configured SSO type from the system configuration. * * @return The SSO type string from configuration */ protected String getSsoType() { return ComponentUtil.getFessConfig().getSsoType(); } /** * Gets all registered SSO authenticators. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.3K bytes - Viewed (0)