Skip to content

Commit

Permalink
Fix for type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
bpiwowar committed Dec 7, 2023
1 parent ee84874 commit 7e4a911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpmir/letor/samplers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def initialize(self, random):
super().initialize(random)
self.sampler.initialize(random)

def pairwise_iter(self) -> SerializableIterator[PairwiseRecord]:
def pairwise_iter(self) -> SerializableIterator[PairwiseRecord, Any]:
def iter(pair_iter):
while True:
topics = []
Expand Down

0 comments on commit 7e4a911

Please sign in to comment.