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
host (str): hostname. If uri_mode is True, a MongoDB connection string URI (https://docs.mongodb.com/manual/reference/connection-string/) can be used instead of the remaining options below.
122
+
host (str): hostname. If uri_mode is True, a MongoDB connection string URI
123
+
(https://docs.mongodb.com/manual/reference/connection-string/) can be used instead of the remaining
("ssl_ca_file", None, "Path to any client certificate to be used for mongodb connection"),
129
129
("authsource", None,
130
-
"Database used for authentication, if not connection db. e.g., for MongoDB Atlas this is sometimes 'admin'."))
130
+
"Database used for authentication, if not connection db. e.g., for MongoDB Atlas this is sometimes "
131
+
"'admin'."))
131
132
else:
132
133
fields= (
133
134
("host", "localhost", "Example: 'localhost' or 'mongodb+srv://CLUSTERNAME.mongodb.net'"),
@@ -137,12 +138,15 @@ def init_yaml(args):
137
138
("password", None, "Password for MongoDB authentication"),
138
139
("ssl_ca_file", None, "Path to any client certificate to be used for Mongodb connection"),
139
140
("authsource", None,
140
-
"Database used for authentication, if not connection db. e.g., for MongoDB Atlas this is sometimes 'admin'."))
141
+
"Database used for authentication, if not connection db. e.g., for MongoDB Atlas this is sometimes "
142
+
"'admin'."))
141
143
142
144
doc= {}
143
145
ifargs.uri_mode:
144
146
print(
145
-
"Note 1: You are in URI format mode. This means that all database parameters (username, password, host, port, database name, etc.) must be present in the URI. See: https://docs.mongodb.com/manual/reference/connection-string/ for details.")
147
+
"Note 1: You are in URI format mode. This means that all database parameters (username, password, host, "
148
+
"port, database name, etc.) must be present in the URI. See: "
149
+
"https://docs.mongodb.com/manual/reference/connection-string/ for details.")
146
150
print("(Enter your connection URI in under the 'host' parameter)")
147
151
print("Please supply the following configuration values")
148
152
print("(press Enter if you want to accept the defaults)\n")
@@ -750,7 +754,8 @@ def lpad():
750
754
'init', help='Initialize a Fireworks launchpad YAML file.')
751
755
init_parser.add_argument('-u', '--uri_mode',
752
756
action="store_true",
753
-
help="Connect via a URI, see: https://docs.mongodb.com/manual/reference/connection-string/")
help='get the directory of the most recent launch of the given fw_id. A common usage is "cd `get_launchdir <FW_ID>`" to change the working directory that of the FW launch')
792
+
help='get the directory of the most recent launch of the given fw_id.'
793
+
' A common usage is "cd `get_launchdir <FW_ID>`" to change the '
794
+
'working directory that of the FW launch')
787
795
get_launchdir_parser.add_argument('fw_id', type=int, help='fw_id to chdir to')
0 commit comments