From fe4754ba8ff0ae489a0b44416d8573a5c68791bd Mon Sep 17 00:00:00 2001 From: Piotr Jachowicz Date: Mon, 14 Sep 2020 23:32:47 +0200 Subject: [PATCH] [EventHubs] Make __init__.py compatible with pkgutil-style namespace (#13210) * Make __init__.py compatible with pkgutil-style namespace Fixes https://github.com/Azure/azure-sdk-for-python/issues/13187 * fix pylint and add license info Co-authored-by: Yunhao Ling --- .../azure-eventhub/azure/eventhub/extensions/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/eventhub/azure-eventhub/azure/eventhub/extensions/__init__.py b/sdk/eventhub/azure-eventhub/azure/eventhub/extensions/__init__.py index e69de29bb2d1..f70db896c615 100644 --- a/sdk/eventhub/azure-eventhub/azure/eventhub/extensions/__init__.py +++ b/sdk/eventhub/azure-eventhub/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