- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,022 for _from (0.41 sec)
-
tests/test_forms_from_non_typing_sequences.py
from fastapi import FastAPI, Form from fastapi.testclient import TestClient app = FastAPI() @app.post("/form/python-list") def post_form_param_list(items: list = Form()): return items @app.post("/form/python-set") def post_form_param_set(items: set = Form()): return items @app.post("/form/python-tuple") def post_form_param_tuple(items: tuple = Form()): return items client = TestClient(app)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 1.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(ctx)); if (!tracing_ctx) { tsl::Set_TF_Status_from_Status( s, tensorflow::errors::InvalidArgument( "Only TracingContext can be converted into a function.")); return nullptr; } tsl::Set_TF_Status_from_Status(s, tracing_ctx->Finalize(unwrap(outputs), &func)); TF_DeleteExecutionContext(ctx);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/env.cc
void TF_CreateDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status( status, ::tensorflow::Env::Default()->CreateDir(dirname)); } void TF_DeleteDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status( status, ::tensorflow::Env::Default()->DeleteDir(dirname)); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
import static com.google.common.graph.GraphConstants.ENDPOINTS_MISMATCH; import static com.google.common.graph.GraphConstants.NODE_PAIR_REMOVED_FROM_GRAPH; import static com.google.common.graph.GraphConstants.NODE_REMOVED_FROM_GRAPH; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import com.google.common.collect.Sets;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 7.2K bytes - Viewed (0) -
tests/test_http_connection_injection.py
from fastapi import Depends, FastAPI from fastapi.requests import HTTPConnection from fastapi.testclient import TestClient from starlette.websockets import WebSocket app = FastAPI() app.state.value = 42 async def extract_value_from_http_connection(conn: HTTPConnection): return conn.app.state.value @app.get("/http") async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)): return value
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Aug 09 13:56:41 GMT 2020 - 972 bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphConstants.java
static final String NODE_REMOVED_FROM_GRAPH = "Node %s that was used to generate this set is no longer in the graph."; static final String NODE_PAIR_REMOVED_FROM_GRAPH = "Node %s or node %s that were used to generate this set are no longer in the graph."; static final String EDGE_REMOVED_FROM_GRAPH = "Edge %s that was used to generate this set is no longer in the graph.";
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 3.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
package configurations import common.Arch import common.BuildToolBuildJvm import common.Jvm import common.KillProcessMode.KILL_ALL_GRADLE_PROCESSES import common.KillProcessMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS import common.KillProcessMode.KILL_PROCESSES_STARTED_BY_GRADLE import common.Os import common.VersionedSettingsBranch import common.applyDefaultSettings import common.buildToolGradleParameters
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 08:17:56 GMT 2024 - 7.9K bytes - Viewed (0) -
.teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt
} @Test fun `can apply defaults to configurations`() { applyDefaults(buildModel, buildType, "myTask") assertEquals( listOf( "KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS", "GRADLE_RUNNER", "KILL_PROCESSES_STARTED_BY_GRADLE", "CHECK_CLEAN_M2_ANDROID_USER_HOME" ), steps.items.map(BuildStep::name)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 08:17:56 GMT 2024 - 6.5K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
if (!v2_reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, v2_reader_->status()); return; } auto result = BuildV2VarMaps(); var_to_shape_map_.swap(result.first); var_to_data_type_map_.swap(result.second); } else { reader_.reset(new TensorSliceReader(filename)); if (!reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, reader_->status()); return; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
private static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; private static final int FLAGS_RETURN_RESUME_KEYS = 0x04; private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private static final int DEFAULT_LIST_SIZE = 65535; private static final int DEFAULT_LIST_COUNT = 200;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 4.4K bytes - Viewed (0)