Skip to content

Commit

Permalink
[Event Hubs] Add link of Event Hubs v5 IoT hub example code link in v…
Browse files Browse the repository at this point in the history
…1 example code (#10719)
  • Loading branch information
YijunXieMS authored Apr 7, 2020
1 parent 99b35c0 commit 3d578c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/eventhub/azure-eventhubs/examples/iothub_recv.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

"""
An example to show receiving events from an IoT Hub partition.
This example is for Python Event Hubs SDK version 1.x.
If you use the latest Event Hubs SDK version 5.x, the example code is
at https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/eventhub/azure-eventhub/samples/async_samples/iot_hub_connection_string_receive_async.py
"""
from azure import eventhub
from azure.eventhub import EventData, EventHubClient, Offset
Expand Down

0 comments on commit 3d578c0

Please sign in to comment.