Skip to content

Commit

Permalink
Fix client.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey committed Jul 25, 2024
1 parent 7be9ac0 commit d74018e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions python/hopsworks_common/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

from typing import Literal, Optional, Union

from hopsworks_common.client import external, hopsworks
from hopsworks_common.client.istio import _client as _istio_client
from hopsworks_common.client import external, hopsworks, istio
from hopsworks_common.constants import HOSTS


Expand Down Expand Up @@ -74,10 +73,9 @@ def stop() -> None:
if _client:
_client._close()
_client = None
global _istio_client
if _istio_client:
_istio_client._close()
_istio_client = None
if istio._client:
istio._client._close()
istio._client = None


def is_saas_connection() -> bool:
Expand Down

0 comments on commit d74018e

Please sign in to comment.