From 74169dbdee2dde3e4d237ce7ef45042b7aa16199 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Wed, 16 Sep 2020 10:39:11 -0700 Subject: [PATCH] [EventHubs] Update extensions.__ini__.py to the correct namespace module format (#13773) --- .../azure/eventhub/extensions/__init__.py | 1 + .../azure/eventhub/extensions/__init__.py | 5 +++++ sdk/eventhub/azure-eventhub/azure/eventhub/__init__.py | 3 --- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/__init__.py b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/__init__.py index 34913fb394d7..f70db896c615 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/__init__.py +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/__init__.py @@ -2,3 +2,4 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/__init__.py b/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/__init__.py index e69de29bb2d1..f70db896c615 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/__init__.py +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/__init__.py @@ -0,0 +1,5 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore diff --git a/sdk/eventhub/azure-eventhub/azure/eventhub/__init__.py b/sdk/eventhub/azure-eventhub/azure/eventhub/__init__.py index 5ab6c4f5ef5d..b97277f9335b 100644 --- a/sdk/eventhub/azure-eventhub/azure/eventhub/__init__.py +++ b/sdk/eventhub/azure-eventhub/azure/eventhub/__init__.py @@ -2,9 +2,6 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- - -__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore - from uamqp import constants from ._common import EventData, EventDataBatch from ._version import VERSION