check_properties
check_properties(properties: Any)Check that all properties match Sprout’s requirements.
If the resources property hasn’t been filled in yet, this will only check the package properties. The 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
If the resources property has been filled in, these resource properties will also be checked:
pathis of type string.pathincludes resource name.datais not set.
Parameters
properties : Any-
The properties to check.
Returns
PackageProperties-
The
propertiesif all checks pass.
Raises
ExceptionGroup-
A group of
CheckErrors, one error per failed check.