Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliva Kar committed Jan 11, 2024
1 parent a043d99 commit f35b08d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion azure-iot-device/azure/iot/device/custom_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from typing import Union, Dict, List, Tuple, Callable, Awaitable, TypeVar
from typing import Any, Union, Dict, List, Tuple, Callable, Awaitable, TypeVar
from typing_extensions import TypedDict, ParamSpec


Expand Down Expand Up @@ -36,3 +36,5 @@ class StorageInfo(TypedDict):
containerName: str
blobName: str
sasToken: str

ProvisioningPayload = Union[Dict[str, Any], str, int]
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from .async_inbox import AsyncClientInbox
from . import async_handler_manager, loop_management
from azure.iot.device import constant as device_constant
from .pipeline import MQTTPipeline, HTTPPipeline
from azure.iot.device.iothub.pipeline import MQTTPipeline, HTTPPipeline
from azure.iot.device.custom_typing import StorageInfo, Twin, TwinPatch
from typing import Any, Callable, Optional, Union

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from azure.iot.device.common.auth import sastoken as st
from azure.iot.device.common import auth, handle_exceptions
from .pipeline import MQTTPipeline
from azure.iot.device import X509
from azure.iot.device.common.models import X509
from azure.iot.device.custom_typing import ProvisioningPayload
from azure.iot.device.provisioning.models import RegistrationResult

Expand Down

0 comments on commit f35b08d

Please sign in to comment.