Exemplo n.º 1
0
 def get_hook(self):
     """Create and return an AWSAthenaHook."""
     return AWSAthenaHook(self.aws_conn_id, sleep_time=self.sleep_time)
Exemplo n.º 2
0
 def setUp(self):
     self.athena = AWSAthenaHook(sleep_time=0)
Exemplo n.º 3
0
 def hook(self) -> AWSAthenaHook:
     """Create and return an AWSAthenaHook"""
     return AWSAthenaHook(self.aws_conn_id, sleep_time=self.sleep_time)
 def get_hook(self):
     return AWSAthenaHook(self.aws_conn_id, self.sleep_time)
Exemplo n.º 5
0
 def get_hook(self):
     """Create and return an AWSAthenaHook"""
     if not self.hook:
         self.hook = AWSAthenaHook(self.aws_conn_id, self.sleep_time)
     return self.hook