now.common.options module#

This module implements a command-line dialog with the user. Its goal is to configure a UserInput object with users specifications. Optionally, values can be passed from the command-line when jina-now is launched. In that case, the dialog won’t ask for the value.

now.common.options.clean_flow_name(user_input)[source]#

Clean the flow name to make it valid, removing special characters and spaces.

now.common.options.check_login_dataset(user_input)[source]#
now.common.options.update_model_choice(user_input, option_name, **kwargs)[source]#
now.common.options.get_models_dialog(user_input)[source]#
now.common.options.check_login_deployment(user_input)[source]#
now.common.options.construct_app(app_name)[source]#