lst_auto_rta.files_callback.DirMonitoringInfo

class lst_auto_rta.files_callback.DirMonitoringInfo(data_dir: Path, process_file_fct_extra_kwargs: Dict[str, Any], on_dir_change_fct_extra_kwargs: Dict[str, Any])[source]

Bases: NamedTuple

Information required by dir_monitoring to start monitoring a directory. Typically received from a multiprocessing Queue.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

data_dir

Alias for field number 0

on_dir_change_fct_extra_kwargs

Alias for field number 2

process_file_fct_extra_kwargs

Alias for field number 1

count(value, /)

Return number of occurrences of value.

data_dir: Path

Alias for field number 0

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

on_dir_change_fct_extra_kwargs: Dict[str, Any]

Alias for field number 2

process_file_fct_extra_kwargs: Dict[str, Any]

Alias for field number 1