check_resource_properties
Warning
🚧 Sprout is still in active development and evolving quickly, so the documentation and functionality may not work as described and could undergo substantial changes 🚧
check_resource_properties(properties: ResourceProperties)
Checks that only the resource properties
match Sprout’s requirements.
All resource 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.
path
is of type string.path
includes resource name.data
is not set.
Parameters
properties : ResourceProperties
-
The resource properties to check.
Returns
ResourceProperties
-
Outputs the
properties
if all checks pass.
Raises
ExceptionGroup
-
A group of
CheckError
s, one error per failed check.