Skip to content

Commit

Permalink
fix: remove findFilesByMetadata from the derived class (bas class met…
Browse files Browse the repository at this point in the history
…hod will add the suffix)
  • Loading branch information
martynia committed Jun 27, 2024
1 parent b080e3d commit 8a90c8e
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,3 @@ def getFileUserMetadata(self, path, credDict):

result["Value"] = _stripSuffix(result["Value"], credDict)
return result

def findFilesByMetadata(self, metaDict, path, credDict):
"""Find Files satisfying the given metadata
:param dict metaDict: dictionary with the metaquery parameters
:param str path: Path to search into
:param dict credDict: Dictionary with the user credentials
:return: S_OK/S_ERROR, Value ID:LFN dictionary of selected files
"""

fMetaDict = _getMetaNameDict(metaDict, credDict)
return super().findFilesByMetadata(fMetaDict, path, credDict)

0 comments on commit 8a90c8e

Please sign in to comment.