- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,563 for examples (0.1 sec)
-
docs_src/schema_extra_example/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: str | None = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: float | None = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 479 bytes - Viewed (0) -
fastapi/param_functions.py
strict=strict, multiple_of=multiple_of, allow_inf_nan=allow_inf_nan, max_digits=max_digits, decimal_places=decimal_places, example=example, examples=examples, openapi_examples=openapi_examples, deprecated=deprecated, include_in_schema=include_in_schema, json_schema_extra=json_schema_extra, **extra, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 62.5K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial002.py
from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: Union[str, None] = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: Union[float, None] = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 517 bytes - Viewed (0) -
docs/zh/docs/tutorial/schema-extra-example.md
使用上面的任何方法,它在 `/docs` 中看起来都是这样的: <img src="/img/tutorial/body-fields/image01.png"> ## 技术细节 关于 `example` 和 `examples`... JSON Schema在最新的一个版本中定义了一个字段 <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a> ,但是 OpenAPI 基于之前的一个旧版JSON Schema,并没有 `examples`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
doc/next/3-tools.md
files. See [#67699](/issue/67699). ### Vet The new `tests` analyzer reports common mistakes in declarations of tests, fuzzers, benchmarks, and examples in test packages, such as malformed names, incorrect signatures, or examples that document non-existent identifiers. Some of these mistakes may cause tests not to run.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 09 19:57:59 UTC 2024 - 856 bytes - Viewed (0) -
docs/extensions/s3zip/README.md
## Code Examples [Using minio-go library](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/minio-go/main.go) [Using AWS JS SDK v2](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/aws-js/main.js) [Using boto3](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/boto3/main.py) ## Requirements and limits
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 10 16:28:27 UTC 2024 - 3K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
//tensorflow/python/feature_column:vocabulary_testdata //tensorflow/python/util:nest_test_main_lib //tensorflow/lite/experimental/examples/lstm:rnn_cell //tensorflow/lite/experimental/examples/lstm:rnn_cell.py //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test //tensorflow/lite/experimental/examples/lstm:unidirectional_sequence_lstm_test.py //tensorflow/lite/python:interpreter //tensorflow/lite/python:interpreter_test
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 14 18:47:44 UTC 2024 - 12.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.3.md
- [Other notable changes](#other-notable-changes-17) <!-- END MUNGE: GENERATED_TOC --> <!-- NEW RELEASE NOTES ENTRY --> # v1.3.10 [Documentation](http://kubernetes.github.io) & [Examples](http://releases.k8s.io/release-1.3/examples) ## Downloads for v1.3.10 filename | sha256 hash -------- | -----------
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 84K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
/** * Creates an {@link java.io.OutputStream} for writing to a file * on an SMB server addressed by the URL parameter. See {@link * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of * the smb URL syntax. * * @param url An smb URL string representing the file to write to */ public SmbFileOutputStream( String url ) throws SmbException, MalformedURLException, UnknownHostException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 7.1K bytes - Viewed (0)