コード例 #1
0
 def check_args_valid(cls, args, n_outputs):
     SimpleExecutor.check_args_valid(args, n_outputs)
     if "inputs" not in args or n_outputs != 1:
         raise BlameUserException(
             'Incorrect arguments to the sync executor: %s' % repr(args))
コード例 #2
0
 def __init__(self, worker):
     SimpleExecutor.__init__(self, worker)
コード例 #3
0
ファイル: sync.py プロジェクト: ZubairNabi/ciel
 def __init__(self, worker):
     SimpleExecutor.__init__(self, worker)
コード例 #4
0
ファイル: sync.py プロジェクト: ZubairNabi/ciel
 def check_args_valid(cls, args, n_outputs):
     SimpleExecutor.check_args_valid(args, n_outputs)
     if "inputs" not in args or n_outputs != 1:
         raise BlameUserException('Incorrect arguments to the sync executor: %s' % repr(args))            
コード例 #5
0
ファイル: grab.py プロジェクト: BeverlyAb/ciel_2.7
 def check_args_valid(cls, args, n_outputs):
     
     SimpleExecutor.check_args_valid(args, n_outputs)
     if "urls" not in args or "version" not in args or len(args["urls"]) != n_outputs:
         raise BlameUserException('Incorrect arguments to the grab executor: %s' % repr(args))