lbaf.Utils.lbsDataStatFilesUpdater.DataStatFilesUpdater class

Class validating VT data files according to the defined schema.

Static methods

def _DataStatFilesUpdater__check_if_dir_exists(dir_path: str) -> bool
Check for existence of a given directory. Returns True when file exists.
def _DataStatFilesUpdater__check_if_file_exists(file_path: str) -> bool
Check for existence of a given file. Returns True when file exists.
def _DataStatFilesUpdater__get_files_for_validation(dir_path: str, file_prefix: str, file_suffix: str) -> list
Check for existence of a given directory. Returns True when file exists.

Methods

def _DataStatFilesUpdater__add_type_to_file(self, file_path)
Add given type to the file.
def _DataStatFilesUpdater__parse_args(self)
Parse arguments.
def run(self)
Run the DataStatsFilesUpdater logic.

Special methods

def __init__(self)