Skip to content

Commit

Permalink
Correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Jan 9, 2025
1 parent 48aa561 commit 5a37760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion synapseclient/models/protocols/table_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def delete_rows(
syn = Synapse()
syn.login()
Table.delete_rows(query="SELECT ROW_ID, ROW_VERSION FROM syn1234 WHERE foo = 'asdf'")
Table(id="syn1234").delete_rows(query="SELECT ROW_ID, ROW_VERSION FROM syn1234 WHERE foo = 'asdf'")
"""
return pd.DataFrame()

Expand Down
2 changes: 1 addition & 1 deletion synapseclient/models/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ async def delete_rows_async(
syn.login()
async def main():
await Table.delete_rows_async(query="SELECT ROW_ID, ROW_VERSION FROM syn1234 WHERE foo = 'asdf'")
await Table(id="syn1234").delete_rows_async(query="SELECT ROW_ID, ROW_VERSION FROM syn1234 WHERE foo = 'asdf'")
asyncio.run(main())
"""
Expand Down

0 comments on commit 5a37760

Please sign in to comment.