Check#

Description#

Given a package file address, check that the content referenced by the package is available and correct.

The check command verifies if the catalog of a repository package matches its actual data content. This is useful for validating package integrity.

For usage examples, see the Tutorial. For CLI options, run wrapp check --help.

Python API Reference#

async wrapp.check_package_content(
wrapp_file: str,
recursive: bool = False,
*,
context: CommandParameters | None = None,
scheduler: SchedulerContext | None = None,
) list[CheckResult]#

Given a package file address, check that the content referenced by the package is available and correct.

:param wrapp_file :param context: Global configuration parameters :param scheduler: Optionally pre-constructed SchedulerContext. When calling many functions in a row make sure to pre-construct the scheduler.

Raises:
  • FailedCommand – When prerequisites not matched

  • StorageOperationError – Raised when network or file operations fail