Skip to content

Commit bacf891

Browse files
Add type annotations to device_registration.py
1 parent 11bf70c commit bacf891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_azureiot/device_registration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class DeviceRegistrationError(Exception):
2828
An error from the device registration
2929
"""
3030

31-
def __init__(self, message):
31+
def __init__(self, message: str):
3232
super().__init__(message)
3333
self.message = message
3434

0 commit comments

Comments
 (0)