snakemake/remote/S3.py
def key_last_modified(self, bucket_name, key):
        """Returns a timestamp of a key based on a HEAD request

        Args:
            bucket_name: the name of the S3 bucket to use (bucket name only, not ARN)
            key: the key of the object to delete from the bucket

        Returns:
            timestamp
        """
        assert bucket_name, "bucket_name must be specified"
        assert key, "Key must be specified"

        k = self.s3.Object(bucket_name, key)

        return k.last_modified.timestamp()
Returns a timestamp of a key based on a HEAD request

        Args:
            bucket_name: the name of the S3 bucket to use (bucket name only, not ARN)
            key: the key of the object to delete from the bucket

        Returns:
            timestamp
        
Returns a timestamp of a key based on a HEAD request
Returns a timestamp of a key based on a HEAD request
def key_last_modified(self, bucket_name, key):
        assert bucket_name, "bucket_name must be specified"
        assert key, "Key must be specified"
        k = self.s3.Object(bucket_name, key)
        return k.last_modified.timestamp()
def key_last_modified ( self , bucket_name , key ) : assert bucket_name , "bucket_name must be specified" assert key , "Key must be specified" k = self . s3 . Object ( bucket_name , key ) return k . last_modified . timestamp ( )
Returns a timestamp of a key based on a HEAD request
Returns a timestamp of a key based on a HEAD request
"""Returns a timestamp of a key based on a HEAD request

        Args:
            bucket_name: the name of the S3 bucket to use (bucket name only, not ARN)
            key: the key of the object to delete from the bucket

        Returns:
            timestamp
        """
None
self
bucket_name
the name of the S3 bucket to use (bucket name only, not ARN)
the name of the S3 bucket to use ( bucket name only not ARN )
key
the key of the object to delete from the bucket
the key of the object to delete from the bucket