Обновляет Dockerfile, добавляет скрипт инициализации Airflow, улучшает документацию в README.md, изменяет название DAG и добавляет описание задач, а также улучшает логи в классе UserActionTransfer.
This commit is contained in:
@@ -27,7 +27,7 @@ class TargetDBRepo:
|
||||
batch = users.iloc[i:i + BATCH_SIZE]
|
||||
records = batch.to_dict(orient="records")
|
||||
session.run(query, {"rows": records})
|
||||
self.log.info("rows saved %s", i + BATCH_SIZE)
|
||||
self.log.info("Rows %s–%s saved (%s)", i, i+len(batch), len(batch))
|
||||
|
||||
def get_number_of_users(self) -> int:
|
||||
with self.driver.session() as session:
|
||||
|
||||
Reference in New Issue
Block a user