Exemple #1
0
 class Arguments(ParentArgs):
     action = EnumArg(Actions)
     prod = DictArg(StrArg())
     local = DictArg(StrArg())
     lref = DictArg(StrArg())
     config = DictArg(StrArg())
     param = DictArg(StrArg(), separators='///')
Exemple #2
0
 class Arguments(PageArgs):
     result = EnumArg(ResultCode, None)
     summary = StrArg(None)
     report = ListArg()
     id = StrArg()
     name = StrArg()
     output = DictArg(StrArg())
     data = DictArg(StrArg())
Exemple #3
0
class ProjectEditArgs(EditArgs):
    name = StrArg('')
    targets = StrArg('')
    tagkeys = StrArg('')
    timezone = StrArg(None)
    maxjobs = IntArg(defaultMaxJobs)
    taskprio = BoolArg()
    embed = EnumArg(EmbeddingPolicy, None)
    embedcustom = StrArg('')
Exemple #4
0
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)
Exemple #5
0
class CSVArgs(PageArgs):
    sep = EnumArg(CSVSeparator, CSVSeparator.COMMA)
Exemple #6
0
class ReportArgs(PageArgs):
    ctabove = DateTimeArg(None)
    ctbelow = DateTimeArg(None, True)
    execState = EnumArg(ExecutionState, ExecutionState.ALL)
    target = SetArg()
    owner = SetArg()
Exemple #7
0
 class Arguments(ScheduleIndex_GET.Arguments):
     action = DictArg(EnumArg(Actions))
Exemple #8
0
 class Arguments(TaskIdArgs):
     result = EnumArg(ResultCode)
     summary = StrArg(None)
     data = DictArg(StrArg())
Exemple #9
0
 class Arguments(TaskIdArgs):
     action = EnumArg(Actions)
Exemple #10
0
 class Arguments(PostArgs):
     action = EnumArg(Actions)
Exemple #11
0
 class Arguments(UserList_GET.Arguments):
     user = StrArg()
     role = EnumArg(UIRoleNames)
Exemple #12
0
 class Arguments(MailConfigArgs):
     action = EnumArg(Actions)
     mailRecipient = StrArg()
Exemple #13
0
 class Arguments(AddUser_GET.Arguments, LoginPassArgs, RoleArgs):
     action = EnumArg(Actions)
     user = StrArg()
Exemple #14
0
class RoleArgs(PageArgs):
    role = EnumArg(UIRoleNames)
 class Arguments(PageArgs):
     action = EnumArg(Actions)
Exemple #16
0
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()
Exemple #18
0
 class Arguments(PageArgs):
     name = SetArg()
     action = EnumArg(Actions)
Exemple #19
0
 class ArgumentsMixin:
     action = EnumArg(Actions)
Exemple #20
0
 class Arguments(ParentArgs):
     action = EnumArg(Actions)
     tagkeys = DictArg(StrArg())
     tagvalues = DictArg(StrArg())
     commontags = DictArg(SetArg())