Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Point72_csp-gateway /csp_gateway /server /web /utils.py
| from collections.abc import Callable, Coroutine | |
| from typing import Any | |
| from fastapi.exceptions import RequestErrorModel | |
| __all__ = ( | |
| "Error404", | |
| "get_default_responses", | |
| ) | |
| NoArgsNoReturnFuncT = Callable[[], None] | |
| NoArgsNoReturnAsyncFuncT = Callable[[], Coroutine[Any, Any, None]] | |
| NoArgsNoReturnDecorator = Callable[[NoArgsNoReturnFuncT | NoArgsNoReturnAsyncFuncT], NoArgsNoReturnAsyncFuncT] | |
| class Error404(RequestErrorModel): # type: ignore[misc, valid-type] | |
| detail: str = "" | |
| def get_default_responses() -> dict[int | str, dict[str, Any]]: | |
| return {404: {"model": Error404}} | |
Xet Storage Details
- Size:
- 597 Bytes
- Xet hash:
- ae0b07514a2b80b49d0c37e1fdc761d505395f35fd1c9e8bb2173fef276b0abc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.