We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b64d22 commit 09df67bCopy full SHA for 09df67b
1 file changed
openhexa/sdk/workspaces/current_workspace.py
@@ -7,7 +7,6 @@
7
from dataclasses import fields, make_dataclass
8
from warnings import warn
9
10
-from openhexa.cli.api import OpenHexaClient
11
from openhexa.utils import stringcase
12
13
from ...cli.graphql.graphql_client import GetCountriesWorkspaceCountries
@@ -64,6 +63,9 @@ def slug(self) -> str:
64
63
@property
65
def countries(self) -> list[GetCountriesWorkspaceCountries]:
66
"""The countries of the workspace."""
+
67
+ from openhexa.cli.api import OpenHexaClient
68
69
try:
70
return OpenHexaClient().get_countries(workspace_slug=self.slug).workspace.countries
71
except KeyError:
0 commit comments