Skip to content

Commit 19b347f

Browse files
authored
Merge pull request #101038 from JimacoMS3/python-v2-conceptual-topics-update
Made changes to iot hub non-code topics to support Python v2 SDK
2 parents 76751d4 + 4b55851 commit 19b347f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

articles/iot-hub/iot-hub-devguide-sdks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: wesmc
77
ms.service: iot-hub
88
services: iot-hub
99
ms.topic: conceptual
10-
ms.date: 09/14/2018
10+
ms.date: 01/14/2020
1111
---
1212

1313
# Understand and use Azure IoT Hub SDKs
@@ -106,8 +106,8 @@ Azure IoT Hub service SDK for Node.js:
106106

107107
Azure IoT Hub service SDK for Python:
108108

109-
* Download from [pip](https://pypi.python.org/pypi/azure-iothub-service-client/)
110-
* [Source code](https://github.com/Azure/azure-iot-sdk-python/tree/v1-deprecated)
109+
* Download from [pip](https://pypi.python.org/pypi/azure-iot-hub/)
110+
* [Source code](https://github.com/Azure/azure-iot-sdk-python/tree/master)
111111

112112
Azure IoT Hub service SDK for C:
113113

articles/iot-hub/iot-hub-device-sdk-platform-support.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ The [Azure IoT Hub Python device SDK](https://github.com/Azure/azure-iot-sdk-pyt
5353

5454
| OS | Compiler |
5555
|---------------------|-----------------------------------|
56-
| Linux | Python 2.7*, 3.4*, 3.5*, 3.6, 3.7 |
57-
| MacOS High Sierra | Python 2.7*, 3.4*, 3.5*, 3.6, 3.7 |
58-
| Windows 10 family | Python 2.7*, 3.4*, 3.5*, 3.6, 3.7 |
56+
| Linux | Python 2.7.*, 3.5 or later |
57+
| MacOS High Sierra | Python 2.7.*, 3.5 or later |
58+
| Windows 10 family | Python 2.7.*, 3.5 or later |
5959

60-
*Only Python version 3.5.3 or later support the asynchronous APIs, we recommend using 3.7 or later.
60+
Only Python version 3.5.3 or later support the asynchronous APIs, we recommend using version 3.7 or later.
6161

6262
### .NET SDK
6363

articles/iot-hub/iot-hub-reliability-features-in-sdks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The SDKs provide three retry policies:
7474

7575
* **Exponential back-off with jitter**: This default retry policy tends to be aggressive at the start and slow down over time until it reaches a maximum delay. The design is based on [Retry guidance from Azure Architecture Center](https://docs.microsoft.com/azure/architecture/best-practices/retry-service-specific).
7676

77-
* **Custom retry**: For some SDK languages, you can design a custom retry policy that is better suited for your scenario and then inject it into the RetryPolicy. Custom retry isn't available on the C SDK.
77+
* **Custom retry**: For some SDK languages, you can design a custom retry policy that is better suited for your scenario and then inject it into the RetryPolicy. Custom retry isn't available on the C SDK, and it is not currently supported on the Python SDK. The Python SDK reconnects as-needed.
7878

7979
* **No retry**: You can set retry policy to "no retry," which disables the retry logic. The SDK tries to connect once and send a message once, assuming the connection is established. This policy is typically used in scenarios with bandwidth or cost concerns. If you choose this option, messages that fail to send are lost and can't be recovered.
8080

@@ -86,7 +86,7 @@ The SDKs provide three retry policies:
8686
| Java| [SetRetryPolicy](https://docs.microsoft.com/java/api/com.microsoft.azure.sdk.iot.device.deviceclientconfig.setretrypolicy?view=azure-java-stable) | **Default**: [ExponentialBackoffWithJitter class](https://github.com/Azure/azure-iot-sdk-java/blob/master/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/NoRetry.java)<BR>**Custom:** implement [RetryPolicy interface](https://github.com/Azure/azure-iot-sdk-java/blob/master/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/RetryPolicy.java)<BR>**No retry:** [NoRetry class](https://github.com/Azure/azure-iot-sdk-java/blob/master/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/NoRetry.java) | [Java implementation](https://github.com/Azure/azure-iot-sdk-java/blob/master/device/iot-device-client/devdoc/requirement_docs/com/microsoft/azure/iothub/retryPolicy.md) |
8787
| .NET| [DeviceClient.SetRetryPolicy](/dotnet/api/microsoft.azure.devices.client.deviceclient.setretrypolicy?view=azure-dotnet) | **Default**: [ExponentialBackoff class](/dotnet/api/microsoft.azure.devices.client.exponentialbackoff?view=azure-dotnet)<BR>**Custom:** implement [IRetryPolicy interface](https://docs.microsoft.com/dotnet/api/microsoft.azure.devices.client.iretrypolicy?view=azure-dotnet)<BR>**No retry:** [NoRetry class](/dotnet/api/microsoft.azure.devices.client.noretry?view=azure-dotnet) | [C# implementation](https://github.com/Azure/azure-iot-sdk-csharp) | |
8888
| Node| [setRetryPolicy](/javascript/api/azure-iot-device/client?view=azure-iot-typescript-latest) | **Default**: [ExponentialBackoffWithJitter class](/javascript/api/azure-iot-common/exponentialbackoffwithjitter?view=azure-iot-typescript-latest)<BR>**Custom:** implement [RetryPolicy interface](/javascript/api/azure-iot-common/retrypolicy?view=azure-iot-typescript-latest)<BR>**No retry:** [NoRetry class](/javascript/api/azure-iot-common/noretry?view=azure-iot-typescript-latest) | [Node implementation](https://github.com/Azure/azure-iot-sdk-node/wiki/Connectivity-and-Retries#types-of-errors-and-how-to-detect-them) |
89-
| Python| Coming soon | Coming soon | Coming soon
89+
| Python| Not currently supported | Not currently supported | Not currently supported |
9090

9191
The following code samples illustrate this flow:
9292

0 commit comments

Comments
 (0)