Skip to content

Commit

Permalink
Autocommit
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-finley authored Aug 22, 2024
1 parent 8e183e3 commit d2220c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oldest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class KnownBirthdate:

def main(event, context):
with psycopg.connect(os.environ["NEON_DATABASE_URL"]) as conn:
conn.autocommit = True
oldest_people_table = scrape_wikipedia_oldest_living_people_table()
oldest_person_dict = table_to_oldest_person_dict(oldest_people_table)
oldest_person_birthdate_epoch = birthdate_str_to_epoch(
Expand Down

0 comments on commit d2220c8

Please sign in to comment.