Skip to content

Commit 0612bed

Browse files
committed
Run pre-commit
1 parent 7bff47f commit 0612bed

11 files changed

+11
-0
lines changed

adafruit_azureiot/iot_mqtt.py

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from .quote import quote
2727
from . import constants
2828

29+
2930
# pylint: disable=R0903
3031
class IoTResponse:
3132
"""A response from a direct method call"""

examples/azureiot_esp32spi/azureiot_central_commands.py

+1
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
socket, esp, secrets["id_scope"], secrets["device_id"], secrets["device_sas_key"]
109109
)
110110

111+
111112
# Subscribe to commands
112113
# Commands can be sent from the devices Dashboard in IoT Central, assuming
113114
# the device template and view has been set up with the commands

examples/azureiot_esp32spi/azureiot_central_properties.py

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
socket, esp, secrets["id_scope"], secrets["device_id"], secrets["device_sas_key"]
106106
)
107107

108+
108109
# Subscribe to property changes
109110
# Properties can be updated either in code, or by adding a form to the view
110111
# in the device template, and setting the value on the dashboard for the device

examples/azureiot_esp32spi/azureiot_hub_directmethods.py

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
# Create an IoT Hub device client and connect
101101
device = IoTHubDevice(socket, esp, secrets["device_connection_string"])
102102

103+
103104
# Subscribe to direct method calls
104105
# To invoke a method on the device, select it in the Azure Portal, select Direct Method,
105106
# fill in the method name and payload, then select Invoke Method

examples/azureiot_esp32spi/azureiot_hub_messages.py

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
# Create an IoT Hub device client and connect
9999
device = IoTHubDevice(socket, esp, secrets["device_connection_string"])
100100

101+
101102
# Subscribe to cloud to device messages
102103
# To send a message to the device, select it in the Azure Portal, select Message To Device,
103104
# fill in the message and any properties you want to add, then select Send Message

examples/azureiot_esp32spi/azureiot_hub_twin_operations.py

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
# Create an IoT Hub device client and connect
101101
device = IoTHubDevice(socket, esp, secrets["device_connection_string"])
102102

103+
103104
# Subscribe to device twin desired property updates
104105
# To see these changes, update the desired properties for the device either in code
105106
# or in the Azure portal by selecting the device in the IoT Hub blade, selecting

examples/azureiot_native_networking/azureiot_central_commands.py

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
pool, esp, secrets["id_scope"], secrets["device_id"], secrets["device_sas_key"]
7676
)
7777

78+
7879
# Subscribe to commands
7980
# Commands can be sent from the devices Dashboard in IoT Central, assuming
8081
# the device template and view has been set up with the commands

examples/azureiot_native_networking/azureiot_central_properties.py

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
pool, esp, secrets["id_scope"], secrets["device_id"], secrets["device_sas_key"]
7676
)
7777

78+
7879
# Subscribe to property changes
7980
# Properties can be updated either in code, or by adding a form to the view
8081
# in the device template, and setting the value on the dashboard for the device

examples/azureiot_native_networking/azureiot_hub_directmethods.py

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
# Create an IoT Hub device client and connect
6868
device = IoTHubDevice(pool, esp, secrets["device_connection_string"])
6969

70+
7071
# Subscribe to direct method calls
7172
# To invoke a method on the device, select it in the Azure Portal, select Direct Method,
7273
# fill in the method name and payload, then select Invoke Method

examples/azureiot_native_networking/azureiot_hub_messages.py

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
# Create an IoT Hub device client and connect
6969
device = IoTHubDevice(pool, esp, secrets["device_connection_string"])
7070

71+
7172
# Subscribe to cloud to device messages
7273
# To send a message to the device, select it in the Azure Portal, select Message To Device,
7374
# fill in the message and any properties you want to add, then select Send Message

examples/azureiot_native_networking/azureiot_hub_twin_operations.py

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
# Create an IoT Hub device client and connect
6868
device = IoTHubDevice(pool, esp, secrets["device_connection_string"])
6969

70+
7071
# Subscribe to device twin desired property updates
7172
# To see these changes, update the desired properties for the device either in code
7273
# or in the Azure portal by selecting the device in the IoT Hub blade, selecting

0 commit comments

Comments
 (0)