- Sort Score
- Num 10 results
- Language All
Results 1051 - 1060 of 1,704 for intA (0.01 seconds)
-
docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md
...它与我们以前的 `common_parameters` 具有相同的参数: {* ../../docs_src/dependencies/tutorial001_py310.py hl[6] *} 这些参数就是 **FastAPI** 用来 "处理" 依赖项的。 在两个例子下,都有: * 一个可选的 `q` 查询参数,是 `str` 类型。 * 一个 `skip` 查询参数,是 `int` 类型,默认值为 `0`。 * 一个 `limit` 查询参数,是 `int` 类型,默认值为 `100`。 在两个例子下,数据都将被转换、验证、在 OpenAPI schema 上文档化,等等。 ## 使用它 现在,您可以使用这个类来声明你的依赖项了。 {* ../../docs_src/dependencies/tutorial002_py310.py hl[17] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/SetWithResolutionResult.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
tests/test_exception_handlers.py
@app.get("/http-exception") def route_with_http_exception(): raise HTTPException(status_code=400) @app.get("/request-validation/{param}/") def route_with_request_validation_exception(param: int): pass # pragma: no cover @app.get("/server-error") def route_with_server_error(): raise RuntimeError("Oops!") def test_override_http_exception(): response = client.get("/http-exception")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 03 22:37:12 GMT 2024 - 2.4K bytes - Click Count (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) def get_invalid_none():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0) -
.bazelrc
# # Other build options: # short_logs: Only log errors during build, skip warnings. # verbose_logs: Show all compiler warnings during build. # monolithic: Build all TF C++ code into a single shared object. # dynamic_kernels: Try to link all kernels dynamically (experimental). # dbg: Build with debug info # # TF version options; # v2: Build TF v2 #
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 26 23:20:26 GMT 2025 - 56.8K bytes - Click Count (0) -
docs/en/docs/contributing.md
That way, you can edit the documentation/source files and see the changes live. /// tip Alternatively, you can perform the same steps that scripts does manually. Go into the language directory, for the main docs in English it's at `docs/en/`: ```console $ cd docs/en/ ``` Then run `mkdocs` in that directory: ```console $ mkdocs serve --dev-addr 127.0.0.1:8008
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Sep 21 11:29:04 GMT 2025 - 15.1K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial002_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 517 bytes - Click Count (0) -
cmd/erasure-heal_test.go
"bytes" "crypto/rand" "io" "os" "testing" ) var erasureHealTests = []struct { dataBlocks, disks int // number of offline disks is also number of staleDisks for // erasure reconstruction in this test offDisks int // bad disks are online disks which return errors badDisks, badStaleDisks int blocksize, size int64 algorithm BitrotAlgorithm shouldFail bool }{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
internal/http/check_port_linux.go
c.Control(func(fdPtr uintptr) { if opts.Interface != "" { // When interface is specified look for specifically port availability on // the specified interface if any. _ = syscall.SetsockoptString(int(fdPtr), syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface) } }) return nil }, } ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java
literal.appendChild(document.createTextNode(methodDoc.getName())); title.appendChild(document.createTextNode("(")); List<ParameterMetaData> parameters = methodDoc.getMetaData().getParameters(); for (int i = 0; i < parameters.size(); i++) { ParameterMetaData param = parameters.get(i); if (i > 0) { title.appendChild(document.createTextNode(", ")); }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.7K bytes - Click Count (0)