- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 4,280 for From (0.06 sec)
-
tests/test_multipart_installation.py
import warnings import pytest from fastapi import FastAPI, File, Form, UploadFile from fastapi.dependencies.utils import ( multipart_incorrect_install_error, multipart_not_installed_error, ) def test_incorrect_multipart_installed_form(monkeypatch): monkeypatch.setattr("python_multipart.__version__", "0.0.12") with warnings.catch_warnings(record=True): warnings.simplefilter("always")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 21:46:26 UTC 2024 - 5.7K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
"google.golang.org/protobuf/reflect/protoregistry" "google.golang.org/protobuf/types/known/emptypb" "istio.io/istio/istioctl/pkg/util/configdump" ) // Comparator diffs between a config dump from Istiod and one from Envoy type Comparator struct { envoy, istiod *configdump.Wrapper w io.Writer context int location string } // NewComparator is a comparator constructor
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/zh/docs/index.md
## 示例升级 现在修改 `main.py` 文件来从 `PUT` 请求中接收请求体。 我们借助 Pydantic 来使用标准的 Python 类型声明请求体。 ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.2K bytes - Viewed (0) -
docs/en/docs/release-notes.md
## 0.51.0 * Re-export utils from Starlette: * This allows using things like `from fastapi.responses import JSONResponse` instead of `from starlette.responses import JSONResponse`. * It's mainly syntax sugar, a convenience for developer experience.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:25:57 UTC 2024 - 460.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* Returns an immutable array containing all the values from {@code stream}, in order. * * @since NEXT (but since 22.0 in the JRE flavor) */ @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams. public static ImmutableLongArray copyOf(LongStream stream) { // Note this uses very different growth behavior from copyOf(Iterable) and the builder.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
opts->opts.validate_colocation_constraints = enable; } // Load a Pluggable Device library. // On success, returns the handle to library in result and return OK from the // function. Otherwise return nullptr in result and error Status from the // function. // // If `library_filename` has already been loaded, we return a cached handle. // Device and Kernels/Ops are registered as globals when a library is loaded
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
MIGRATION.md
## Migration From Other Enterprise Search Systems ### Google Search Appliance (GSA) / Google Mini Fess provides a [Google Search Appliance](https://enterprise.google.com/search/products/gsa.html) (GSA) compatible API. To enable this API, set `web.api.gsa=true` to system.properties. This will enable an enpoint at `<Fess Server Name>:8080/gsa`. When a search query is sent to `<Fess Server Name>:8080/gsa/?q=QUERY`, a GSA compatible response will be returned
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Mar 05 06:12:02 UTC 2019 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial004.py
from fastapi.testclient import TestClient from docs_src.handling_errors.tutorial004 import app client = TestClient(app) def test_get_validation_error(): response = client.get("/items/foo") assert response.status_code == 400, response.text # TODO: remove when deprecating Pydantic v1 assert ( # TODO: remove when deprecating Pydantic v1 "path -> item_id" in response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.7K bytes - Viewed (0) -
internal/config/dns/etcd_dns_test.go
if result1 != "service.staging.cluster.local." { t.Errorf("Failure to get domain from etcd key (with a trailing '/'), expect: 'service.staging.cluster.local.', actually get: '%s'", result1) } result2 := msgUnPath("/skydns/local/cluster/staging/service") if result2 != "service.staging.cluster.local." { t.Errorf("Failure to get domain from etcd key (without trailing '/'), expect: 'service.staging.cluster.local.' actually get: '%s'", result2)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 2.1K bytes - Viewed (0) -
architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md
# ADR-0003 - Avoid introducing Groovy types to public API ## Date 2024-01-12 ## Context Gradle's public API requires equal access from all JVM-based languages. Kotlin, Groovy, Java, and other JVM-based languages should be able to use the Gradle API without relying on another language's standard library. Historically, Gradle has shipped with some Groovy types in very prominent APIs.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sun Mar 10 20:38:06 UTC 2024 - 1.8K bytes - Viewed (0)