Skip to content

Commit

Permalink
Rename 'version' arg to new_fulltext() as 'since'.
Browse files Browse the repository at this point in the history
'since' is more consistent with other API calls.
  • Loading branch information
davidlesieur committed May 17, 2021
1 parent a4053ed commit fdc517f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyzotero/zotero.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,13 +642,13 @@ def set_fulltext(self, itemkey, payload):
data=json.dumps(payload),
)

def new_fulltext(self, version):
def new_fulltext(self, since):
"""
Retrieve list of full-text content items and versions which are newer
than <version>
than <since>
"""
query_string = "/{t}/{u}/fulltext?since={v}".format(
t=self.library_type, u=self.library_id, v=version
query_string = "/{t}/{u}/fulltext?since={version}".format(
t=self.library_type, u=self.library_id, version=since
)
headers = self.default_headers()
self._check_backoff()
Expand Down

0 comments on commit fdc517f

Please sign in to comment.