- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for stub (0.02 sec)
-
tests/test_dependency_duplicates.py
}, }, }, } }, "/with-duplicates-sub": { "post": { "summary": "No Duplicates Sub", "operationId": "no_duplicates_sub_with_duplicates_sub_post", "requestBody": { "content": {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8K bytes - Viewed (0) -
fastapi/utils.py
stacklevel=2, ) operation_id = f"{name}{path}" operation_id = re.sub(r"\W", "_", operation_id) operation_id = f"{operation_id}_{method.lower()}" return operation_id def generate_unique_id(route: "APIRoute") -> str: operation_id = f"{route.name}{route.path_format}" operation_id = re.sub(r"\W", "_", operation_id) assert route.methodsRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 5.1K bytes - Viewed (0) -
fastapi/_compat/v2.py
# Pydantic v2 and allow mixing the models TypeModelOrEnum = Union[type["BaseModel"], type[Enum]] TypeModelSet = set[TypeModelOrEnum] def normalize_name(name: str) -> str: return re.sub(r"[^a-zA-Z0-9.\-_]", "_", name) def get_model_name_map(unique_models: TypeModelSet) -> dict[TypeModelOrEnum, str]: name_model_map = {} for model in unique_models:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 19.1K bytes - Viewed (0) -
docs/en/docs/release-notes.md
## 0.4.0 * Add `openapi_prefix`, support for reverse proxy and mounting sub-applications. See the docs at [https://fastapi.tiangolo.com/advanced/sub-applications-proxy/](https://fastapi.tiangolo.com/advanced/sub-applications-proxy/): [#26](https://github.com/tiangolo/fastapi/pull/26) by [@kabirkhan](https://github.com/kabirkhan).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:06:15 UTC 2025 - 586.7K bytes - Viewed (0) -
fastapi/routing.py
endpoint_ctx = ( _extract_endpoint_context(dependant.call) if dependant.call else EndpointContext() ) if dependant.path: # For mounted sub-apps, include the mount path prefix mount_path = request.scope.get("root_path", "").rstrip("/") endpoint_ctx["path"] = f"{request.method} {mount_path}{dependant.path}"Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (0)