Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer committed Jul 15, 2024
1 parent 95a3210 commit e5a721b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/mongodb/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _create_batches(self, limit: Optional[int] = None) -> List[Dict[str, int]]:

return batches

def _get_cursor(self, filter_: Dict[str, Any]) -> Cursor:
def _get_cursor(self, filter_: Dict[str, Any]) -> Cursor[Any]:
"""Get a reading cursor for the collection.
Args:
Expand Down Expand Up @@ -276,7 +276,7 @@ class CollectionArrowLoaderParallel(CollectionLoaderParallel):
Apache Arrow for data processing.
"""

def _get_cursor(self, filter_: Dict[str, Any]) -> Cursor:
def _get_cursor(self, filter_: Dict[str, Any]) -> Cursor[Any]:
"""Get a reading cursor for the collection.
Args:
Expand Down

0 comments on commit e5a721b

Please sign in to comment.