Skip to content

Commit

Permalink
Move decorators, adapt client
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey committed Jul 16, 2024
1 parent 187f57c commit 4e15eff
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion python/hopsworks_common/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# limitations under the License.
#

from hopsworks.client import external, hopsworks
from hopsworks_common.client import external, hopsworks


_client = None
_python_version = None
Expand Down
6 changes: 3 additions & 3 deletions python/hopsworks_common/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
#

import os
import furl
from abc import ABC, abstractmethod

import furl
import requests
import urllib3

from hopsworks.client import exceptions, auth
from hopsworks.decorators import connected
from hopsworks_common.client import auth, exceptions
from hopsworks_common.decorators import connected


urllib3.disable_warnings(urllib3.exceptions.SecurityWarning)
Expand Down
5 changes: 3 additions & 2 deletions python/hopsworks_common/client/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
# limitations under the License.
#

import os
import base64
import os

import requests

from hopsworks.client import base, auth, exceptions
from hopsworks_common.client import auth, base, exceptions


class Client(base.Client):
Expand Down
3 changes: 2 additions & 1 deletion python/hopsworks_common/client/hopsworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

import requests

from hopsworks.client import base, auth
from hopsworks_common.client import auth, base


try:
import jks
Expand Down
File renamed without changes.

0 comments on commit 4e15eff

Please sign in to comment.