Skip to content

Commit 94a5291

Browse files
committed
Update typing for Queryable.all method to include None as a return type
1 parent b44ea44 commit 94a5291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

facturapi/resources/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def count(cls, **query_params) -> int:
294294
return len(items)
295295

296296
@classmethod
297-
def all(cls, **query_params) -> Generator[Resource, None]:
297+
def all(cls, **query_params) -> Generator[Resource, None, None]:
298298
"""Retrieve all resources given a query.
299299
300300
All the returned resources are paginated, the method `yields`

0 commit comments

Comments
 (0)