class ExtractedDataArgs(ReportTaskArgs): # Override to make 'task' argument mandatory. # Intersection of empty sequence is undefined, so we must ensure # at least one task is selected. task = SetArg(allowEmpty=False) key = SetArg() vistype = EnumArg(VisualizationType, VisualizationType.CHART_BAR) sort = SortArg() first = IntArg(0)
class Arguments(ReportArgs): configId = SetArg()
class Arguments(PageArgs): name = SetArg() action = EnumArg(Actions)
class JobIdSetArgs(PageArgs): '''Identifies a set of jobs. ''' jobId = SetArg()
class ReportArgs(PageArgs): ctabove = DateTimeArg(None) ctbelow = DateTimeArg(None, True) execState = EnumArg(ExecutionState, ExecutionState.ALL) target = SetArg() owner = SetArg()
class BasketArgs(TagArgs, SelectArgs): # Items selected in the basket. bsk = SetArg() # Identifies the submit button that was used. action = StrArg(None)
class TaskIdSetArgs(PageArgs): '''Identifies a set of tasks. ''' task = SetArg()
class FrameworkEditArgs(EditArgs, ParamArgsMixin, ResourceRequirementsArgsMixin): wrapper = StrArg('') input = SetArg() output = SetArg()
class SelectArgs(PageArgs): # Top form: selected items. # Basket form: basket contents when form was generated. sel = SetArg()
class ResTypeEditArgs(EditArgs): type = SetArg() description = StrArg('')
class Arguments(PageArgs): param = SetArg()
class Arguments(PageArgs): jobId = SetArg() taskName = SetArg() onlyWaiting = BoolArg()
class Arguments(PageArgs): type = SetArg() name = SetArg()
class PostArgs(RefererArgs): confirmedId = SetArg()
class Arguments(ParentArgs): action = EnumArg(Actions) tagkeys = DictArg(StrArg()) tagvalues = DictArg(StrArg()) commontags = DictArg(SetArg())
class Arguments(PageArgs): subject = StrArg() key = SetArg() value = SetArg()