Skip to content

Commit

Permalink
chore: improve comments in template (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida authored Nov 20, 2023
1 parent fe43678 commit 3615c5a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_cost(
#
# Note that, in addition to the actual columns, each row should also have a
# column called ``rowid``, with an integer value. If the adapter is read-only
# this an be any number; for adapters that implement DML the rowid is used
# this can be any number; for adapters that implement DML the rowid is used
# in ``INSERT``, ``UPDATE``, and ``DELETE`` operations.
def get_data(
self,
Expand Down Expand Up @@ -203,8 +203,8 @@ def delete_data(self, row_id: int) -> None:
def update_data(self, row_id: int, row: Row) -> None:
pass

# Close the file. This can be used for garbage collection. For example, in the
# CsV adapter uses this method to effectively delete rows marked as deleted;
# Close the file. This can be used for garbage collection. For example, the
# CSV adapter uses this method to effectively delete rows marked as deleted;
# the GSheets adapter uses this to synchronize the local copy of the sheet back
# to the actual sheet.
def close(self) -> None:
Expand Down

0 comments on commit 3615c5a

Please sign in to comment.