_Downloader.get_prepacked_data

classmethod _Downloader.get_prepacked_data(meth, data_name='<data_name>', update=False, confirmation_required=True, verbose=False, cfm_msg_note='', act_msg_note='', act_msg_end=' ... ')

Get auxiliary data (that is to be prepacked in the package).

Parameters
  • meth (Callable) – name of a class method for getting (auxiliary) prepacked data

  • data_name (str) – name of the prepacked data, defaults to '<data_name>'

  • update (bool) – whether to (check on and) update the prepacked data, defaults to False

  • confirmation_required (bool) – whether asking for confirmation to proceed, defaults to True

  • verbose (bool or int) – whether to print relevant information in console, defaults to False

  • cfm_msg_note (str) – additional message for the method compose_cfm_msg(), defaults to ""

  • act_msg_note (str) – equivalent of the parameter note of the method print_action_msg(), defaults to ""

  • act_msg_end (str) – equivalent of the parameter end of the method print_action_msg(), defaults to " ... "

Returns

auxiliary data

Return type

Any

Tests:

>>> from pydriosm.downloader import _Downloader

>>> _Downloader.get_prepacked_data(callable, confirmation_required=False) is None
True