check_package_properties
check_package_properties(properties: Any)
Check PackageProperties
(not ResourceProperties
) against the requirements.
Package properties
are checked against the Data Package standard and the following Sprout-specific requirements:
- Sprout-specific required fields are present.
- Required fields are not blank.
Parameters
properties : Any
-
The package properties to check.
Returns
PackageProperties
-
The
properties
if all checks pass.
Raises
ExceptionGroup
-
A group of
CheckError
s, one error per failed check.