Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Dec 19, 2024
1 parent 4e90fe5 commit 90d3ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etl/grapher_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from sqlalchemy import select, text, update
from sqlalchemy.engine.base import Engine
from sqlalchemy.exc import NoResultFound
from sqlalchemy.ext.asyncio import AsyncEngine, AsyncSession
from sqlalchemy.ext.asyncio import AsyncEngine, AsyncSession, async_sessionmaker
from sqlalchemy.orm import Session

from apps.backport.datasync import data_metadata as dm
Expand Down Expand Up @@ -117,7 +117,7 @@ def upsert_dataset(
assert source.name
source_ids[hash(source)] = _upsert_source_to_db(session, source, ds.id)

await session.commit()
session.commit()

return DatasetUpsertResult(ds.id, source_ids)

Expand Down

0 comments on commit 90d3ffb

Please sign in to comment.