Skip to content

Commit 3d578c0

Browse files
authored
[Event Hubs] Add link of Event Hubs v5 IoT hub example code link in v1 example code (#10719)
1 parent 99b35c0 commit 3d578c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk/eventhub/azure-eventhubs/examples/iothub_recv.py

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
"""
77
An example to show receiving events from an IoT Hub partition.
8+
This example is for Python Event Hubs SDK version 1.x.
9+
If you use the latest Event Hubs SDK version 5.x, the example code is
10+
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
811
"""
912
from azure import eventhub
1013
from azure.eventhub import EventData, EventHubClient, Offset

0 commit comments

Comments
 (0)