LineData.update

LineData.update(confirmation_required=True, verbose=False, interval=5, init_update=False)[source]

Updates the pre-packed line data.

Parameters:
  • confirmation_required (bool) – Whether user confirmation is required before proceeding; defaults to True.

  • verbose (bool | int) – Whether to print relevant information to the console; defaults to False.

  • interval (int or float) – A time gap (in seconds) between the updating of different classes, defaults to 5

  • init_update (bool) – Whether to update the data for each subclass when being instantiated, defaults to False

Examples:

>>>
>>> from pyrcs.collector import LineData
>>> ld = LineData()
>>> ld.update(verbose=True)