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

Commit 758bfc1

Browse files
committed
update apikey login reference
1 parent 6db6e22 commit 758bfc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paperspace/method.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import subprocess
1111

1212
from . import config
13+
from . import login
1314

1415
def zip_to_tmp(files, ignore_files=[]):
1516
file = files[0]
@@ -47,7 +48,7 @@ def method(category, method, params):
4748
if 'apiKey' in params:
4849
config.PAPERSPACE_API_KEY = params.pop('apiKey')
4950
elif not config.PAPERSPACE_API_KEY:
50-
config.PAPERSPACE_API_KEY = apikey()
51+
config.PAPERSPACE_API_KEY = login.apikey()
5152
params.pop('tail', None)
5253
no_logging = params.pop('no_logging', None)
5354
workspace_files = params.pop('extraFiles', [])

0 commit comments

Comments
 (0)