azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[EventHub] Samples Typing

Open kashifkhan opened this issue 2 years ago • 0 comments

notes:

  • async PartitionContext comes from azure.eventhub.aio._eventprocessor while sync comes from azure.eventhubcallable
  • on_event expects an Optional[EventData]. Why would we even invoke the callable if the EventData was None ?
  • SequenceEvents which is the expected type (an alias for a long type) for on_batch_event is not exposed publicly

kashifkhan avatar Dec 28 '22 22:12 kashifkhan