Skip to content

Commit 8b1b0ac

Browse files
Fix Update.one to be consistent with Read & Delete.
1 parent 3a7bbf8 commit 8b1b0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db_wrapper/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __init__(self, client: Client, table: sql.Composable) -> None:
127127
self._client = client
128128
self._table = table
129129

130-
async def one(self, id_value: str, changes: Dict[str, Any]) -> T:
130+
async def one_by_id(self, id_value: str, changes: Dict[str, Any]) -> T:
131131
"""Apply changes to row with given id.
132132
133133
Arguments:

0 commit comments

Comments
 (0)