data_dispatcher/api.py
def list_handles(self, project_id, state=None, not_state=None, rse=None, with_replicas=False):
        """Returns information about project file handles, selecting them by specified criteria
        
        Args:
            project_id (int): project id
        
        Keyword Arguments:
            state (str): select only handles in the specified state
            not_state (str): exclude handles in the specified state
            rse (str): include only handles with replicas in the specified RSE
            with_replicas (boolean): include information about replicas

        Returns:
            list of dictionaries with inofrmation about selected file handles
        """
        args = []
        if rse: args.append(f"rse={rse}")
        if project_id: args.append(f"project_id={project_id}")
        if state: args.append(f"state={state}")
        if not_state: args.append(f"not_state={not_state}")
        args = "?" + "&".join(args) if args else ""
        return self.get(f"handles{args}")
Returns information about project file handles, selecting them by specified criteria
        
        Args:
            project_id (int): project id
        
        Keyword Arguments:
            state (str): select only handles in the specified state
            not_state (str): exclude handles in the specified state
            rse (str): include only handles with replicas in the specified RSE
            with_replicas (boolean): include information about replicas

        Returns:
            list of dictionaries with inofrmation about selected file handles
        
Returns information about project file handles, selecting them by specified criteria
Returns information about project file handles selecting them by specified criteria
def list_handles(self, project_id, state=None, not_state=None, rse=None, with_replicas=False):
        args = []
        if rse: args.append(f"rse={rse}")
        if project_id: args.append(f"project_id={project_id}")
        if state: args.append(f"state={state}")
        if not_state: args.append(f"not_state={not_state}")
        args = "?" + "&".join(args) if args else ""
        return self.get(f"handles{args}")
def list_handles ( self , project_id , state = None , not_state = None , rse = None , with_replicas = False ) : args = [ ] if rse : args . append ( f"rse={rse}" ) if project_id : args . append ( f"project_id={project_id}" ) if state : args . append ( f"state={state}" ) if not_state : args . append ( f"not_state={not_state}" ) args = "?" + "&" . join ( args ) if args else "" return self . get ( f"handles{args}" )
Returns information about project file handles, selecting them by specified criteria
Returns information about project file handles selecting them by specified criteria
"""Returns information about project file handles, selecting them by specified criteria
        
        Args:
            project_id (int): project id
        
        Keyword Arguments:
            state (str): select only handles in the specified state
            not_state (str): exclude handles in the specified state
            rse (str): include only handles with replicas in the specified RSE
            with_replicas (boolean): include information about replicas

        Returns:
            list of dictionaries with inofrmation about selected file handles
        """
list of dictionaries with inofrmation about selected file handles
list of dictionaries with inofrmation about selected file handles
self
project_id
None
state
not_state
rse
with_replicas