Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 14, 2022
1 parent 22bea42 commit 5480c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform_storage_api/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async def rename(

@trace
async def disk_usage(
self, path: Optional[Union[PurePath, str]] = None
self, path: Union[PurePath, str, None] = None
) -> DiskUsageInfo:
real_path = await self._path_resolver.resolve_path(PurePath(path or "/"))
return await self._fs.disk_usage(real_path)

0 comments on commit 5480c77

Please sign in to comment.