lbaf.Utils.lbsJSONDataFilesValidatorLoader.JSONDataFilesValidatorLoader class

Data Files Validator Loader application class.

Methods

def _JSONDataFilesValidatorLoader__parse_args(self)
Parse arguments.
def is_loaded(self) -> bool
Verify if the data files validator module has been downloaded.
def run(self, overwrite: typing.Optional[bool] = None) -> int
Downloads the VT Data validator script named script_name from the VT repository.

Special methods

def __init__(self)

Method documentation

def lbaf.Utils.lbsJSONDataFilesValidatorLoader.JSONDataFilesValidatorLoader.is_loaded(self) -> bool

Verify if the data files validator module has been downloaded.

:returns: True if the module has been downloaded to IMPORT_DIR

def lbaf.Utils.lbsJSONDataFilesValidatorLoader.JSONDataFilesValidatorLoader.run(self, overwrite: typing.Optional[bool] = None) -> int

Downloads the VT Data validator script named script_name from the VT repository.

:param overwrite: None to parse arg from cli. True to overwrite the script if exists. :returns: False if the script cannot be loaded.