From 3d7f647cb5a5c2288e89684057ffe6c537f8624b Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 29 Jul 2023 13:26:33 +0200 Subject: [PATCH 1/2] Fix documentation for GetRecord Signed-off-by: Stefan Weil --- sickle/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickle/app.py b/sickle/app.py index 6fa3b1b..281da43 100644 --- a/sickle/app.py +++ b/sickle/app.py @@ -179,7 +179,7 @@ def Identify(self): return Identify(self.harvest(**params)) def GetRecord(self, **kwargs): - """Issue a ListSets request.""" + """Issue a GetRecord request.""" params = kwargs params.update({'verb': 'GetRecord'}) record = self.iterator(self, params).next() From c05ca475f8f8eb08be7ef5842bd102b6f414e88e Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 29 Jul 2023 13:28:33 +0200 Subject: [PATCH 2/2] Fix some typos in documentation (found by codespell) Signed-off-by: Stefan Weil --- docs/credits.rst | 2 +- docs/tutorial.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/credits.rst b/docs/credits.rst index 86fba6e..7d017c7 100644 --- a/docs/credits.rst +++ b/docs/credits.rst @@ -3,7 +3,7 @@ Credits ======= * Inspired by the "for humans approach" of `requests `_ -* `pyoai `_ also provided valueable inspiration +* `pyoai `_ also provided valuable inspiration * Sickle logo: Free `Valentina typeface `_ by Pedro Arilla and `public domain image `_ diff --git a/docs/tutorial.rst b/docs/tutorial.rst index cd91342..46d05f1 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -23,7 +23,7 @@ Issuing Requests ================ Sickle provides methods for each of the six OAI verbs (ListRecords, GetRecord, -Idenitfy, ListSets, ListMetadataFormats, ListIdentifiers). Start with a +Identify, ListSets, ListMetadataFormats, ListIdentifiers). Start with a ListRecords request:: >>> records = sickle.ListRecords(metadataPrefix='oai_dc')