Exemple #1
0
 def _get_filtered_args(self, all_kwargs):
     qubole_args = flatten_list(COMMAND_ARGS.values()) + HYPHEN_ARGS + \
         flatten_list(POSITIONAL_ARGS.values()) + self.qubole_hook_allowed_args_list
     return {
         key: value
         for key, value in all_kwargs.items() if key not in qubole_args
     }
Exemple #2
0
 def _get_filtered_args(self, all_kwargs):
     qubole_args = flatten_list(COMMAND_ARGS.values()) + HYPHEN_ARGS + \
         flatten_list(POSITIONAL_ARGS.values()) + self.qubole_hook_allowed_args_list
     return {key: value for key, value in all_kwargs.items() if key not in qubole_args}