Skip to content

Commit

Permalink
fix sig
Browse files Browse the repository at this point in the history
  • Loading branch information
Kabir Khan committed Jan 31, 2024
1 parent 0258a63 commit c28f571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cloudpathlib/local/localclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ def _get_metadata(self, cloud_path: "LocalPath") -> Dict:
def _get_public_url(self, cloud_path: "LocalPath") -> str:
return cloud_path.as_uri()

def _generate_presigned_url(self, cloud_path: "LocalPath") -> str:
def _generate_presigned_url(
self, cloud_path: "LocalPath", expire_seconds: int = 60 * 60
) -> str:
raise NotImplementedError("Cannot generate a presigned URL for a local path.")


Expand Down

0 comments on commit c28f571

Please sign in to comment.