Package iceprod :: Package client :: Module commands :: Class hide
[hide private]
[frames] | no frames]

Class hide

source code

object --+            
         |            
   Command --+        
             |        
         valid --+    
                 |    
           invalid --+
                     |
                    hide

Command: invalid <dataset_id>
          or
      nvalid <dataset_id>
          or
      hide <dataset_id>

Invalidate a dataset and hide it from iceprod.
Can invalidate multiple datasets at once.

Arguments:
  <dataset_id>  Specify the dataset to invalidate.
  
Returns:
  Returns the result of the mysql query (success or failure).
  Warning that if the dataset id is wrong it will likely
  print success because there was no mysql error.
  
Examples:
  Invalidate single dataset  (dataset 1234)
     invalid 1234
  
  Invalidate multiple datasets using commas
  (datasets 1234, 1243 and jobs 1, 3, and 5)
     invalid 1234,1243
  
  Invalidate multile datasets using ranges
  (datasets 1234 - 1235, jobs 1 - 5)
     invalid 1234-1235
 

Instance Methods [hide private]

Inherited from invalid: Execute

Inherited from valid (private): _valid

Inherited from Command: CheckArgs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __doc__ = invalid.__doc__
  shortdoc = 'hide <dataset_id> : Invalidate a dataset. AKA: inv...
hash(x)

Inherited from invalid: numArgs

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

shortdoc

hash(x)

Value:
'hide <dataset_id> : Invalidate a dataset. AKA: invalid,nvalid'