diff --git a/src/DIRAC/Resources/Catalog/FileCatalogClient.py b/src/DIRAC/Resources/Catalog/FileCatalogClient.py index ddd4fbf755c..f532a7a7011 100644 --- a/src/DIRAC/Resources/Catalog/FileCatalogClient.py +++ b/src/DIRAC/Resources/Catalog/FileCatalogClient.py @@ -18,6 +18,7 @@ class FileCatalogClient(FileCatalogClientBase): READ_METHODS = FileCatalogClientBase.READ_METHODS + [ "isFile", "getFileMetadata", + "getFileDetails", "getReplicas", "getReplicaStatus", "getFileSize", @@ -472,6 +473,11 @@ def getFileMetadata(self, lfns, timeout=120): """Get the metadata associated to supplied lfns""" return self._getRPC(timeout=timeout).getFileMetadata(lfns) + @checkCatalogArguments + def getFileDetails(self, lfns, timeout=120): + """Get the metadata associated to supplied lfns""" + return self._getRPC(timeout=timeout).getFileDetails(lfns) + @checkCatalogArguments def getReplicaStatus(self, lfns, timeout=120): """Get the status for the supplied replicas"""