You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: comet_for_mlflow/cli.py
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -42,17 +42,22 @@ def main():
42
42
"--no-upload",
43
43
dest="upload",
44
44
action="store_false",
45
-
help="Do not upload the prepared experiments to comet.ml; will not create comet.ml projects",
45
+
help="Do not upload the prepared experiments to comet.ml;"
46
+
" will not create comet.ml projects",
46
47
)
47
48
parser.set_defaults(upload=True)
48
49
49
50
parser.add_argument(
50
51
"--api-key",
51
-
help="Set the Comet API key; required with --upload (the default); can also be configured in the usual places",
52
+
help="Set the Comet API key; required with --upload (the default);"
53
+
" can also be configured in the usual places",
52
54
)
53
55
parser.add_argument(
54
56
"--mlflow-store-uri",
55
-
help="Set the MLFlow store uri. The MLFlow store uri to used to retrieve MLFlow runs, given directly to MLFlow, and supports all MLFlow schemes (file:// or SQLAlchemy-compatible database connection strings). If not set, reads MLFLOW_TRACKING_URI environment variable",
57
+
help="Set the MLFlow store uri. The MLFlow store uri to used to retrieve"
58
+
" MLFlow runs, given directly to MLFlow, and supports all MLFlow schemes"
59
+
" (file:// or SQLAlchemy-compatible database connection strings)."
60
+
" If not set, reads MLFLOW_TRACKING_URI environment variable",
56
61
)
57
62
58
63
parser.add_argument(
@@ -83,7 +88,8 @@ def main():
83
88
help="Answer all yes/no questions automatically with 'no'",
84
89
)
85
90
parser.add_argument(
86
-
"--email", help="Set email address if needed for creating a comet.ml account",
91
+
"--email",
92
+
help="Set email address if needed for creating a comet.ml account",
"A Comet.ml account has been created for you and an email was sent to you to setup your password later."
618
+
"A Comet.ml account has been created for you and an email was sent to"
619
+
" you to setup your password later."
602
620
)
603
621
save_api_key(new_account["apiKey"])
604
622
LOGGER.info(
605
-
"Your Comet API Key has been saved to ~/.comet.ini, it is also available on your Comet.ml dashboard."
623
+
"Your Comet API Key has been saved to ~/.comet.ini, it is also"
624
+
" available on your Comet.ml dashboard."
606
625
)
607
626
return (
608
627
new_account["apiKey"],
609
628
new_account["token"],
610
629
)
611
630
else:
612
631
LOGGER.info(
613
-
"An account already exists for this account, please input your API Key below (you can find it in your Settings page, https://comet.ml/docs/quick-start/#getting-your-comet-api-key):"
632
+
"An account already exists for this account, please input your API Key"
0 commit comments