- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for IDs (0.14 sec)
-
tests/test_serialize_response.py
assert response.json() == {"name": "coerce", "price": 1.0, "owner_ids": None} def test_validlist(): response = client.get("/items/validlist") response.raise_for_status() assert response.json() == [ {"name": "foo", "price": None, "owner_ids": None}, {"name": "bar", "price": 1.0, "owner_ids": None}, {"name": "baz", "price": 2.0, "owner_ids": [1, 2, 3]},
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Mon Aug 03 12:29:07 GMT 2020 - 1.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java
private final List<String> ids; private final int hashCode; public CacheKey(List<Artifact> extensionArtifacts) { this.files = new ArrayList<>(extensionArtifacts.size()); this.timestamps = new ArrayList<>(extensionArtifacts.size()); this.sizes = new ArrayList<>(extensionArtifacts.size()); this.ids = new ArrayList<>(extensionArtifacts.size());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 4.7K bytes - Viewed (0) -
tests/test_serialize_response_model.py
assert response.json() == [ {"aliased_name": "foo", "price": None, "owner_ids": None}, {"aliased_name": "bar", "price": 1.0, "owner_ids": None}, {"aliased_name": "baz", "price": 2.0, "owner_ids": [1, 2, 3]}, ] def test_validdict(): response = client.get("/items/validdict") response.raise_for_status() assert response.json() == {
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 4.2K bytes - Viewed (0) -
tests/test_serialize_response_dataclass.py
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Aug 26 13:56:47 GMT 2022 - 4.9K bytes - Viewed (0) -
tests/test_validate_response.py
from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid(): return {"name": "invalid", "price": "foo"} @app.get("/items/invalidnone", response_model=Item)
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
} if (result.size() != source_tensor_ids.size()) { return errors::Internal("Expected result Span to be of size ", source_tensor_ids.size(), " found ", result.size(), " in call to Tape::ComputeGradient."); } std::unordered_set<int64_t> used_gradient_ids(source_tensor_ids.size()); for (int i = 0; i < source_tensor_ids.size(); i++) {
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
docs_src/path_operation_advanced_configuration/tutorial002.py
from fastapi.routing import APIRoute app = FastAPI() @app.get("/items/") async def read_items(): return [{"item_id": "Foo"}] def use_route_names_as_operation_ids(app: FastAPI) -> None: """ Simplify operation IDs so that generated API clients have simpler function names. Should be called only after all routes have been added. """ for route in app.routes:
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 572 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 18.1K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
std::vector<int64_t> source_tensor_ids = MakeTensorIDList(sources); tensorflow::gtl::FlatSet<int64_t> sources_set(source_tensor_ids.begin(), source_tensor_ids.end()); std::unordered_map<int64_t, TapeTensor> sources_that_are_targets; for (int i = 0; i < target_tensor_ids.size(); ++i) { int64_t target_id = target_tensor_ids[i];
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java
/** * Gets the list of group ids to scan for the plugin prefix. * * @return The list of group ids to scan for the plugin prefix, never {@code null}. */ List<String> getPluginGroups(); /** * Sets the list of group ids to scan for the plugin prefix. * * @param pluginGroups The list of group ids to scan for the plugin prefix, may be {@code null}.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.6K bytes - Viewed (0)