nvflare.tool.package_checker.package_checker module¶
- class PackageChecker[source]¶
Bases:
ABC
- check() int [source]¶
Checks if the package is runnable on the current system.
- Returns:
if no dry-run process started. 1: if the dry-run process is started and return code is 0. 2: if the dry-run process is started and return code is not 0.
- Return type:
0
- check_dry_run() int [source]¶
Runs dry run command.
- Returns:
if no process started. 1: if the process is started and return code is 0. 2: if the process is started and return code is not 0.
- Return type:
0