def get(self, key=None, return_missing=False):
    '\n        Get a single object from S3.\n\n        Args:\n            key: (optional) a suffix identifying the object.\n            return_missing: (optional, default False) if set to True, do\n                            not raise an exception for a missing key but\n                            return it as an S3Object with .exists == False.\n\n        Returns:\n            an S3Object corresponding to the object requested.\n        '
    url = self._url(key)
    src = urlparse(url)

    def _download(s3, tmp):
        s3.download_file(src.netloc, src.path.lstrip('/'), tmp)
        return url
    try:
        path = self._one_boto_op(_download, url)
    except MetaflowS3NotFound:
        if return_missing:
            path = None
        else:
            raise
    return S3Object(self._s3root, url, path)
Get a single object from S3.

Args:
    key: (optional) a suffix identifying the object.
    return_missing: (optional, default False) if set to True, do
                    not raise an exception for a missing key but
                    return it as an S3Object with .exists == False.

Returns:
    an S3Object corresponding to the object requested.
def get(self, key=None, return_missing=False):
    '\n        Get a single object from S3.\n\n        Args:\n            key: (optional) a suffix identifying the object.\n            return_missing: (optional, default False) if set to True, do\n                            not raise an exception for a missing key but\n                            return it as an S3Object with .exists == False.\n\n        Returns:\n            an S3Object corresponding to the object requested.\n        '
    url = self._url(key)
    src = urlparse(url)

    def _download(s3, tmp):
        s3.download_file(src.netloc, src.path.lstrip('/'), tmp)
        return url
    try:
        path = self._one_boto_op(_download, url)
    except MetaflowS3NotFound:
        if return_missing:
            path = None
        else:
            raise
    return S3Object(self._s3root, url, path)