Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit d91504f

Browse files
committed
Fix imports
1 parent 773232f commit d91504f

File tree

7 files changed

+7
-9
lines changed

7 files changed

+7
-9
lines changed

paperspace/cli/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from paperspace import client, config
22
from paperspace.cli.cli import cli
33
from paperspace.commands import projects as projects_commands
4-
from . import common
4+
from paperspace.cli import common
55

66

77
@cli.group("projects", help="Manage projects", cls=common.ClickGroup)

paperspace/commands/deployments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from paperspace import config, version, client
2-
from . import common
2+
from paperspace.commands import common
33

44
default_headers = {"X-API-Key": config.PAPERSPACE_API_KEY,
55
"ps_client_name": "paperspace-python",

paperspace/commands/experiments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from paperspace import logger, constants, client, config
44
from paperspace.logger import log_response
55
from paperspace.workspace import S3WorkspaceHandler
6-
from . import common
6+
from paperspace.commands import common
77

88
experiments_api = client.API(config.CONFIG_EXPERIMENTS_HOST, headers=client.default_headers)
99

paperspace/commands/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from paperspace import config, client
77
from paperspace.utils import get_terminal_lines
88
from paperspace.workspace import S3WorkspaceHandler
9-
from . import common
9+
from paperspace.commands import common
1010

1111

1212
class JobsCommandBase(common.CommandBase):

paperspace/commands/machines.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import pydoc
21
import time
32

43
import terminaltables
54

5+
from paperspace.commands import common
66
from paperspace.exceptions import BadResponseError
7-
from paperspace.utils import get_terminal_lines
8-
from . import common
97

108

119
class _MachinesCommandBase(common.CommandBase):

paperspace/commands/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from . import common
1+
from paperspace.commands import common
22

33

44
class ListModelsCommand(common.ListCommand):

paperspace/commands/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from . import common
1+
from paperspace.commands import common
22

33

44
class ListProjectsCommand(common.ListCommand):

0 commit comments

Comments
 (0)