We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84d9b7b commit af1d5d7Copy full SHA for af1d5d7
gcloud/storage/connection.py
@@ -431,10 +431,10 @@ def new_bucket(self, bucket):
431
def _get_expiration_seconds(expiration):
432
"""Get expiration as long for generate_signed_url().
433
434
- # `expiration` can be an absolute timestamp (int, long),
435
- # an absolute time (datetime.datetime),
436
- # or a relative time (datetime.timedelta).
437
- # We convert all of these into an absolute timestamp.
+ `expiration` can be an absolute timestamp (int, long),
+ an absolute time (datetime.datetime),
+ or a relative time (datetime.timedelta).
+ We convert all of these into an absolute timestamp.
438
439
:type expiration: int, long, datetime.datetime, datetime.timedelta
440
:param expiration: A timestamp or time delta.
0 commit comments