Skip to content

Commit

Permalink
refactor code00
Browse files Browse the repository at this point in the history
Signed-off-by: Nmroth42 <[email protected]>
  • Loading branch information
Nmroth42 committed Mar 26, 2024
1 parent 517eac4 commit bc2ae8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdk/python/feast/infra/registry/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,10 @@ def _apply_object(
}
update_stmt = (
update(table)
.where(getattr(table.c, id_field_name) == name, table.c.project_id == project)
.where(
getattr(table.c, id_field_name) == name,
table.c.project_id == project,
)
.values(
values,
)
Expand Down

0 comments on commit bc2ae8f

Please sign in to comment.