Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robzor92 committed May 10, 2024
1 parent 44eed53 commit b062e6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions python/hopsworks/core/secret_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
# limitations under the License.
#

from hopsworks import client, secret, util
from hopsworks.core import project_api
import json
import getpass
import json

from hopsworks import client, secret, util
from hopsworks.client.exceptions import RestAPIError
from hopsworks.core import project_api


class SecretsApi:
Expand Down
2 changes: 1 addition & 1 deletion python/hopsworks/secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#

import json
import humps

import humps
from hopsworks import util
from hopsworks.core import secret_api

Expand Down
7 changes: 4 additions & 3 deletions python/hopsworks/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
#

from json import JSONEncoder
from urllib.parse import urljoin, urlparse

from hopsworks import client
from hopsworks.client.exceptions import JobException
from hopsworks.git_file_status import GitFileStatus
from hopsworks import client
from urllib.parse import urljoin, urlparse


class Encoder(JSONEncoder):
Expand Down Expand Up @@ -82,4 +83,4 @@ def get_hostname_replaced_url(sub_path: str):

def is_interactive():
import __main__ as main
return not hasattr(main, '__file__')
return not hasattr(main, '__file__')

0 comments on commit b062e6b

Please sign in to comment.