Esempio n. 1
0
 def get_hook(self, context=None):
     if hasattr(self, 'hook') and (self.hook is not None):
         return self.hook
     else:
         return QuboleCheckHook(
             context=context,
             *self.args,
             results_parser_callable=self.results_parser_callable,
             **self.kwargs
         )
Esempio n. 2
0
 def get_hook(self, context=None):
     if hasattr(self, 'hook') and (self.hook is not None):
         return self.hook
     else:
         return QuboleCheckHook(context=context, *self.args, **self.kwargs)