From 5281b0583541b6e0e9b8c7ad75faa42c5d379735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Kreileder?= Date: Tue, 2 Jan 2024 10:22:31 +0100 Subject: [PATCH] fix: private object not exported in top level module (#346) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #345 --------- Signed-off-by: Jürgen Kreileder --- hcloud/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hcloud/__init__.py b/hcloud/__init__.py index 544a2196..6b69b169 100644 --- a/hcloud/__init__.py +++ b/hcloud/__init__.py @@ -1,4 +1,7 @@ from __future__ import annotations -from ._client import Client # noqa -from ._exceptions import APIException, HCloudException # noqa +from ._client import Client as Client # noqa pylint: disable=C0414 +from ._exceptions import ( # noqa pylint: disable=C0414 + APIException as APIException, + HCloudException as HCloudException, +)