Skip to content

Commit

Permalink
Fix a docstring problem (#13579)
Browse files Browse the repository at this point in the history
  • Loading branch information
YijunXieMS authored Sep 4, 2020
1 parent e336385 commit f01aca1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ def receive_batch(self, on_event_batch, **kwargs):
For detailed partition context information, please refer to
:class:`PartitionContext<azure.eventhub.PartitionContext>`.
:type on_event_batch: Callable[~azure.eventhub.PartitionContext, List[~azure.eventhub.EventData]]
:keyword int max_batch_size: The maximum number of events in a batch passed to callback `on_event_batch`.
If the actual received number of events is larger than `max_batch_size`, the received events are divided into
batches and call the callback for each batch with up to `max_batch_size` events.
:keyword float max_wait_time: The maximum interval in seconds that the event processor will wait before
calling the callback.
If no events are received within this interval, the `on_event_batch` callback will be called
Expand Down

0 comments on commit f01aca1

Please sign in to comment.