Skip to content

Commit df1fd51

Browse files
committed
Fixed bug where we didn't import helpers.auth.DebugLevel in fallback imports
1 parent 86ffeff commit df1fd51

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

ferry_cli/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from helpers.api import FerryAPI # type: ignore
3131
from helpers.auth import ( # type: ignore
3232
Auth,
33+
DebugLevel,
3334
get_auth_args,
3435
set_auth_from_args,
3536
get_auth_parser,

ferry_cli/helpers/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from ferry_cli.helpers.auth import Auth, DebugLevel
99
from ferry_cli.config import CONFIG_DIR
1010
except ImportError:
11-
from helpers.auth import Auth # type: ignore
11+
from helpers.auth import Auth, DebugLevel # type: ignore
1212
from config import CONFIG_DIR # type: ignore
1313

1414

ferry_cli/helpers/supported_workflows/CloneResource.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from ferry_cli.helpers.workflows import Workflow
99
except ImportError:
1010
from helpers.api import FerryAPI # type: ignore
11+
from helpers.auth import DebugLevel # type: ignore
1112
from helpers.workflows import Workflow # type: ignore
1213

1314

ferry_cli/helpers/supported_workflows/GetFilteredGroupInfo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
from typing import Any, Dict, List
33

44
try:
5-
from ferry_cli.helpers.workflows import Workflow
65
from ferry_cli.helpers.auth import DebugLevel
6+
from ferry_cli.helpers.workflows import Workflow
77
except ImportError:
8+
from helpers.auth import DebugLevel # type: ignore
89
from helpers.workflows import Workflow # type: ignore
910

1011

0 commit comments

Comments
 (0)