From bd70fabba6a9b7c107ead1e98c365e034b1ce4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=A2=81=E9=B9=8F=E5=A0=83?= Date: Fri, 18 Apr 2025 09:11:34 +0000 Subject: [PATCH] Fix typos in Collection.fetchAll() comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张梁鹏堃 --- ...typos-in-Collection-fetchAll-comment.patch | 25 +++++++++++++++++++ pyArango.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Fix-typos-in-Collection-fetchAll-comment.patch diff --git a/Fix-typos-in-Collection-fetchAll-comment.patch b/Fix-typos-in-Collection-fetchAll-comment.patch new file mode 100644 index 0000000..6456b1b --- /dev/null +++ b/Fix-typos-in-Collection-fetchAll-comment.patch @@ -0,0 +1,25 @@ +From dc33ca434cbf410c04102094d3a2fa039d380974 Mon Sep 17 00:00:00 2001 +From: Gijs Vermeulen +Date: Mon, 11 Oct 2021 16:55:10 +0200 +Subject: [PATCH] Fix typos in Collection.fetchAll() comment + +--- + pyArango/collection.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyArango/collection.py b/pyArango/collection.py +index 9e74fff..13a5e05 100644 +--- a/pyArango/collection.py ++++ b/pyArango/collection.py +@@ -689,7 +689,7 @@ class Collection(with_metaclass(Collection_metaclass, object)): + def fetchAll(self, rawResults = False, **queryArgs): + """Returns all the documents in the collection. You can use the optinal arguments 'skip' and 'limit':: + +- fetchAlll(limit = 3, shik = 10)""" ++ fetchAll(limit = 3, skip = 10)""" + return self.simpleQuery('all', rawResults = rawResults, **queryArgs) + + def simpleQuery(self, queryType, rawResults = False, **queryArgs): +-- +2.33.0 + diff --git a/pyArango.spec b/pyArango.spec index a572c71..ed6ad3e 100644 --- a/pyArango.spec +++ b/pyArango.spec @@ -2,7 +2,7 @@ Name: pyarango Version: 2.0.1 -Release: 2 +Release: 3 Summary: Python Driver for ArangoDB with built-in validation License: Apache-2.0 URL: https://github.com/ArangoDB-Community/pyArango @@ -10,6 +10,7 @@ Source0: https://files.pythonhosted.org/packages/9f/0e/e1b22ae0020ab9da9d4 BuildArch: noarch Patch0001: 0001-remove-unused-install-require.patch +Patch0002: Fix-typos-in-Collection-fetchAll-comment.patch BuildRequires: python3-setuptools python3-devel @@ -57,6 +58,9 @@ pyArango supports graphs, indexes and probably everything that arangodb can do. %changelog +* Fri Apr 18 2025 zhangliangpengkun - 2.0.1-3 +- DESC:Fix typos in Collection.fetchAll() comment + * Tue Aug 2 2022 algorithmofdish - 2.0.1-2 - add build require:python3-devel to provide pythonXdist -- Gitee