- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for example2 (0.04 sec)
-
tests/test_schema_extra_examples.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 32.2K bytes - Viewed (0) -
tests/test_openapi_examples.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 15.1K bytes - Viewed (0) -
fastapi/params.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 26.3K 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 Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 63K bytes - Viewed (0) -
scripts/translate.py
Do not translate the content of code snippets, keep the original in English. For example, «`list`», «`dict`», keep them as is. ### Content of code blocks Do not translate the content of code blocks, except for comments in the language which the code block uses. Examples: Source (English) – The code block is a bash code example with one comment: ««« ```bash # Print greetingRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:05:53 UTC 2025 - 34.1K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py
"application/json": { "schema": {"$ref": "#/components/schemas/Item"}, "examples": { "normal": { "summary": "A normal example", "description": "A **normal** item works correctly.", "value": {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 6.1K bytes - Viewed (0) -
fastapi/openapi/models.py
allowReserved: Optional[bool] = None class MediaType(BaseModelWithConfig): schema_: Optional[Union[Schema, Reference]] = Field(default=None, alias="schema") example: Optional[Any] = None examples: Optional[dict[str, Union[Example, Reference]]] = None encoding: Optional[dict[str, Encoding]] = None class ParameterBase(BaseModelWithConfig): description: Optional[str] = None
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 15.1K bytes - Viewed (0) -
fastapi/openapi/utils.py
openapi_examples = getattr(field_info, "openapi_examples", None) example = getattr(field_info, "example", None) if openapi_examples: parameter["examples"] = jsonable_encoder(openapi_examples) elif example != Undefined: parameter["example"] = jsonable_encoder(example) if getattr(field_info, "deprecated", None):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 23.2K bytes - Viewed (0) -
docs/zh-hant/llm-prompt.md
### Ellipsis 1) Keep ellipsis style consistent within each document, prefer `...` over `……`. 2) Never change ellipsis in code, URLs, or CLI examples. ### Preferred translations / glossary 1. Should avoid using simplified Chinese characters and terms. Always examine if the translation can be easily comprehended by the Traditional Chinese readers.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:49:46 UTC 2025 - 2.2K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_app03.py
monkeypatch.setenv("ADMIN_EMAIL", "admin@example.com") settings = main_mod.get_settings() assert settings.app_name == "Awesome API" assert settings.admin_email == "admin@example.com" assert settings.items_per_user == 50 def test_endpoint(main_mod: ModuleType, monkeypatch: MonkeyPatch): monkeypatch.setenv("ADMIN_EMAIL", "admin@example.com") client = TestClient(main_mod.app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 1.2K bytes - Viewed (0)