- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for Generics (0.05 seconds)
-
fastapi/exceptions.py
RequestErrorModel: type[BaseModel] = create_model("Request") WebSocketErrorModel: type[BaseModel] = create_model("WebSocket") class FastAPIError(RuntimeError): """ A generic, FastAPI-specific error. """ class DependencyScopeError(FastAPIError): """ A dependency declared that it depends on another dependency with an invalid (narrower) scope. """
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/zh-hant/llm-prompt.md
### `///` admonitions 1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.). 2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK. 3) If a generic title is present, prefer these canonical titles: - `/// note | 注意` Notes: - `details` blocks exist; keep `/// details` as-is and translate only the title after `|`. - Example canonical titles used in existing docs:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:49:46 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/en/docs/release-notes.md
## 0.31.0 * Upgrade Pydantic supported version to `0.29.0`. * New supported version range is `"pydantic >=0.28,<=0.29.0"`. * This adds support for Pydantic [Generic Models](https://docs.pydantic.dev/latest/#generic-models), kudos to [@dmontagu](https://github.com/dmontagu). * PR [#344](https://github.com/tiangolo/fastapi/pull/344). ## 0.30.1Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0) -
.bazelrc
common:linux --copt="-Werror=unused-result" # Add switch as an error on Linux. common:linux --copt="-Wswitch" common:linux --copt="-Werror=switch" # Linux ARM64 specific options common:linux_arm64 --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3" # On Windows, `__cplusplus` is wrongly defined without this switch # See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
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) -
fastapi/routing.py
Read more in the [FastAPI docs for `lifespan`](https://fastapi.tiangolo.com/advanced/events/). """ ), ] = None, # the generic to Lifespan[AppType] is the type of the top level application # which the router cannot know statically, so we use typing.Any lifespan: Annotated[ Optional[Lifespan[Any]], Doc(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0)