From c28f57171d4e61f4542ba6d99fe389b1eac3f2ca Mon Sep 17 00:00:00 2001 From: Kabir Khan Date: Wed, 31 Jan 2024 12:52:06 -0800 Subject: [PATCH] fix sig --- cloudpathlib/local/localclient.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cloudpathlib/local/localclient.py b/cloudpathlib/local/localclient.py index 7b37d006..b3f829d8 100644 --- a/cloudpathlib/local/localclient.py +++ b/cloudpathlib/local/localclient.py @@ -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.")