Skip to content

Commit c37ab92

Browse files
committed
sort imports
1 parent bba1978 commit c37ab92

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

python/hopsworks/__init__.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,25 @@
1515
#
1616
from __future__ import annotations
1717

18-
import warnings
18+
import getpass
1919
import logging
2020
import os
2121
import sys
22-
import getpass
2322
import tempfile
23+
import warnings
2424
from pathlib import Path
2525

26-
from hopsworks.client.exceptions import RestAPIError, ProjectException
27-
from hopsworks import version, constants, client
26+
from hopsworks import client, constants, project, version
27+
from hopsworks.client.exceptions import ProjectException, RestAPIError
2828
from hopsworks.connection import Connection
29-
from hopsworks import project
29+
3030

3131
# Needs to run before import of hsml and hsfs
3232
warnings.filterwarnings(action="ignore", category=UserWarning, module=r".*psycopg2")
3333

34-
import hsml # noqa: F401, E402
3534
import hsfs # noqa: F401, E402
35+
import hsml # noqa: F401, E402
36+
3637

3738
__version__ = version.__version__
3839

python/hopsworks/execution.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
# limitations under the License.
1515
#
1616

17-
import humps
1817
import json
19-
from hopsworks.engine import execution_engine
20-
from hopsworks.core import execution_api
18+
19+
import humps
2120
from hopsworks import constants, util
21+
from hopsworks.core import execution_api
22+
from hopsworks.engine import execution_engine
2223

2324

2425
class Execution:

python/hopsworks/project.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,23 @@
1515
#
1616
from __future__ import annotations
1717

18-
import humps
1918
import json
2019

21-
from hopsworks import util, client, constants
20+
import humps
21+
from hopsworks import client, constants, util
2222
from hopsworks.client.external import Client
2323
from hopsworks.core import (
24-
job_api,
25-
git_api,
2624
dataset_api,
27-
kafka_api,
28-
opensearch_api,
2925
environment_api,
3026
flink_cluster_api,
27+
git_api,
28+
job_api,
29+
kafka_api,
30+
opensearch_api,
3131
)
3232
from hsfs import feature_store
3333

34+
3435
class Project:
3536
def __init__(
3637
self,

0 commit comments

Comments
 (0)