Skip to content

Commit

Permalink
Merge pull request #149 from singnet/bugfix/add-chunk-size-parameter
Browse files Browse the repository at this point in the history
Add chunk_size parameter
  • Loading branch information
marcocapozzoli authored Feb 26, 2024
2 parents 0f422c1 + 5006614 commit 709d9cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hyperon_das/traverse_engines.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def get_links(self, **kwargs) -> QueryAnswerIterator:
no_iterator=False,
targets_document=True,
cursor=0,
chunk_size=kwargs.get('chunk_size', 500)
)
return TraverseLinksIterator(source=incoming_links, cursor=self._cursor['handle'], **kwargs)

Expand Down

0 comments on commit 709d9cb

Please sign in to comment.