Skip to content

Commit

Permalink
indendation error
Browse files Browse the repository at this point in the history
  • Loading branch information
thdfw committed Sep 12, 2024
1 parent 65eeccc commit 8e293df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/gjk/journal_keeper_hack.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ def load_messages_from_s3(
elif t.type_name == "batched.readings":
blank_statuses += 1

print(f"For messages {i * 100} - {i * 100 + 100}: {blank_statuses} blanks")
msg_sql_list = [codec.pyd_to_sql(x) for x in messages]
with self.get_session() as session:
bulk_insert_messages(session, msg_sql_list)
session.commit()
print(f"For messages {i * 100} - {i * 100 + 100}: {blank_statuses} blanks")
msg_sql_list = [codec.pyd_to_sql(x) for x in messages]
with self.get_session() as session:
bulk_insert_messages(session, msg_sql_list)
session.commit()

def get_message_bytes(self, file_name_meta: FileNameMeta) -> bytes:
s3_object = self.s3.get_object(
Expand Down

0 comments on commit 8e293df

Please sign in to comment.