MetaQuery

Utilities for managing metadata based queries

class DIRAC.DataManagementSystem.Client.MetaQuery.MetaQuery(queryDict=None, typeDict=None)

Bases: object

__init__(queryDict=None, typeDict=None)
applyQuery(userMetaDict)

Return a list of tuples with tables and conditions to locate files for a given user Metadata

getMetaQuery()
getMetaQueryAsJson()
setMetaQuery(queryList, metaTypeDict=None)

Create the metadata query out of the command line arguments