(self, scope: Scope)
| 1888 | return _get_resolved_absolute_path(self.directory) |
| 1889 | |
| 1890 | def get_path(self, scope: Scope) -> str: |
| 1891 | path = _get_fastapi_scope(scope).get(_FASTAPI_FRONTEND_PATH_KEY, "") |
| 1892 | assert isinstance(path, str) |
| 1893 | return os.path.normpath(os.path.join(*path.split("/"))) |
| 1894 | |
| 1895 | async def get_response(self, path: str, scope: Scope) -> Response: |
| 1896 | if scope["method"] not in ("GET", "HEAD"): |
nothing calls this directly
no test coverage detected