def get_hook(self): """Create and return an AWSAthenaHook.""" return AWSAthenaHook(self.aws_conn_id, sleep_time=self.sleep_time)
def setUp(self): self.athena = AWSAthenaHook(sleep_time=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)
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