now.data_loading.data_loading module#

now.data_loading.data_loading.load_data(app, user_input)[source]#

Based on the user input, this function will pull the configured DocArray dataset ready for the preprocessing executor.

Parameters
  • app (JinaNOWApp) – chosen JinaNOWApp

  • user_input (UserInput) – The configured user object. Result from the Jina Now cli dialog.

Return type

DocumentArray

Returns

The loaded DocumentArray.

now.data_loading.data_loading.select_ending(files, endings)[source]#
now.data_loading.data_loading.match_types(uri, supported_file_types)[source]#
now.data_loading.data_loading.deep_copy_da(da)[source]#
Return type

DocumentArray