We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5b928 commit 4c2b583Copy full SHA for 4c2b583
packages/postgres-database/tests/test_models_projects_to_jobs.py
@@ -68,9 +68,9 @@ def test_populate_projects_to_jobs_during_migration(
68
user_data = random_user(
69
faker, name="test_populate_projects_to_jobs_during_migration"
70
)
71
- user_id = conn.execute(
72
- sa.insert(users).values(user_data).returning(users.c.id)
73
- ).scalar()
+ stmt = sa.insert(users).values(**user_data).returning(users.c.id)
+ result = conn.execute(stmt)
+ user_id = result.scalar()
74
75
SPACES = " " * 3
76
projects_data = [
0 commit comments