You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async def _listxattr(self, path, attr):
"""List all user-defined metadata attribute"""
meta = (await self._info(path)).get("metadata", {})
return meta
listxattr = sync_wrapper(_listxattr)
My specific application is to check if a certain attribute exists and then x/y/z. I can do this at the moment with a try/except loop. If I had a list of available attributes then that would be a little cleaner.
Maybe this capability already exists?
Thanks, T.
The text was updated successfully, but these errors were encountered:
I see::
Could we have as well something like:
My specific application is to check if a certain attribute exists and then x/y/z. I can do this at the moment with a try/except loop. If I had a list of available attributes then that would be a little cleaner.
Maybe this capability already exists?
Thanks, T.
The text was updated successfully, but these errors were encountered: