Skip to content

Commit a0395e5

Browse files
committed
changed count - count_item
1 parent 5f8d6bb commit a0395e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

filexdb/document.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Mapping
1+
from typing import Mapping, List
22
import uuid
33
import json
44

@@ -44,7 +44,7 @@ def prettify(self) -> str:
4444

4545

4646
class JsonArray(list):
47-
def __init__(self, _value: list) -> None:
47+
def __init__(self, _value:list) -> None:
4848
self.value = _value
4949
super().__init__(self.value)
5050

@@ -63,7 +63,7 @@ def prettify(self) -> str:
6363

6464
return self.value
6565

66-
def docs_count(self) -> int:
66+
def count_item(self) -> int:
6767
"""
6868
Return amount of Document found.
6969

0 commit comments

Comments
 (0)