Beispiel #1
0
 def execute(self, context: Mapping[Any, Any]) -> None:
     self.log.info('Executing: %s', self.sql)
     hook = SqliteHook(sqlite_conn_id=self.sqlite_conn_id)
     hook.run(self.sql, parameters=self.parameters)
Beispiel #2
0
 def execute(self, context):
     self.log.info('Executing: %s', self.sql)
     hook = SqliteHook(sqlite_conn_id=self.sqlite_conn_id)
     hook.run(self.sql, parameters=self.parameters)