class Arguments(ParentArgs): action = EnumArg(Actions) prod = DictArg(StrArg()) local = DictArg(StrArg()) lref = DictArg(StrArg()) config = DictArg(StrArg()) param = DictArg(StrArg(), separators='///')
class Arguments(PageArgs): result = EnumArg(ResultCode, None) summary = StrArg(None) report = ListArg() id = StrArg() name = StrArg() output = DictArg(StrArg()) data = DictArg(StrArg())
class ProjectEditArgs(EditArgs): name = StrArg('') targets = StrArg('') tagkeys = StrArg('') timezone = StrArg(None) maxjobs = IntArg(defaultMaxJobs) taskprio = BoolArg() embed = EnumArg(EmbeddingPolicy, None) embedcustom = StrArg('')
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 CSVArgs(PageArgs): sep = EnumArg(CSVSeparator, CSVSeparator.COMMA)
class ReportArgs(PageArgs): ctabove = DateTimeArg(None) ctbelow = DateTimeArg(None, True) execState = EnumArg(ExecutionState, ExecutionState.ALL) target = SetArg() owner = SetArg()
class Arguments(ScheduleIndex_GET.Arguments): action = DictArg(EnumArg(Actions))
class Arguments(TaskIdArgs): result = EnumArg(ResultCode) summary = StrArg(None) data = DictArg(StrArg())
class Arguments(TaskIdArgs): action = EnumArg(Actions)
class Arguments(PostArgs): action = EnumArg(Actions)
class Arguments(UserList_GET.Arguments): user = StrArg() role = EnumArg(UIRoleNames)
class Arguments(MailConfigArgs): action = EnumArg(Actions) mailRecipient = StrArg()
class Arguments(AddUser_GET.Arguments, LoginPassArgs, RoleArgs): action = EnumArg(Actions) user = StrArg()
class RoleArgs(PageArgs): role = EnumArg(UIRoleNames)
class Arguments(PageArgs): action = EnumArg(Actions)
class PasswordMsgArgs(PageArgs): '''Identifies a particular user (mandatory) and password message (optional). ''' msg = EnumArg(PasswordMessage, None)
class Arguments(ChangePassword_GET.Arguments, LoginPassArgs): action = EnumArg(Actions) password = PasswordArg() password2 = PasswordArg()
class Arguments(PageArgs): name = SetArg() action = EnumArg(Actions)
class ArgumentsMixin: action = EnumArg(Actions)
class Arguments(ParentArgs): action = EnumArg(Actions) tagkeys = DictArg(StrArg()) tagvalues = DictArg(StrArg()) commontags = DictArg(SetArg())