    def getxattr(self, xattr_name, **kwargs):
        """Get an attribute from the metadata.
        See :func:`~s3fs.S3Filesystem.getxattr`.

        Examples
        --------
        >>> mys3file.getxattr('attribute_1')  # doctest: +SKIP
        'value_1'
        """
        return self.fs.getxattr(self.path, xattr_name, **kwargs)
Get an attribute from the metadata.
See :func:`~s3fs.S3Filesystem.getxattr`.

Examples
--------
>>> mys3file.getxattr('attribute_1')  # doctest: +SKIP
'value_1'
s3fs/core.py