Skip to content

Commit

Permalink
Pass sign kwargs to generate_signed_url (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag authored Mar 25, 2022
1 parent 07e99a8 commit f4b3b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcsfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ def sign(self, path, expiration=100, **kwargs):
)
bucket = client.bucket(bucket)
blob = bucket.blob(key)
return blob.generate_signed_url(expiration=expiration)
return blob.generate_signed_url(expiration=expiration, **kwargs)


GoogleCredentials.load_tokens()
Expand Down

0 comments on commit f4b3b86

Please sign in to comment.