From 31881efd02d9d333228eef9b6aeefcec8053e8ff Mon Sep 17 00:00:00 2001 From: Moritz Schott Date: Thu, 26 Sep 2024 15:22:53 +0200 Subject: [PATCH] fix: import order in __init__.py is not arbitrary --- ohsome/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ohsome/__init__.py b/ohsome/__init__.py index 757bca3..181bcfe 100644 --- a/ohsome/__init__.py +++ b/ohsome/__init__.py @@ -3,6 +3,7 @@ """Ohsome API client for Python""" -from .clients import OhsomeClient # noqa +# The order of imports here must remain to prevent circular imports from .exceptions import OhsomeException # noqa from .response import OhsomeResponse # noqa +from .clients import OhsomeClient # noqa