check_resource_properties

check_resource_properties(properties: Any)

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:

Parameters

properties : Any

The resource properties to check.

Returns

ResourceProperties

Outputs the properties if all checks pass.

Raises

DataResourceError

an error flagging issues in the resource properties.