Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incomplete documentation for AIOKafkaConsumer.offset_for_times #1068

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion aiokafka/consumer/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,8 @@ async def offsets_for_times(self, timestamps):
Returns:
dict(TopicPartition, OffsetAndTimestamp): mapping from
partition to the timestamp and offset of the first message with
timestamp greater than or equal to the target timestamp.
timestamp greater than or equal to the target timestamp. None will
be returned for the partition if there is no such message.
Raises:
ValueError: If the target timestamp is negative
Expand Down
Loading