Commit bf3f9687 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Adapt to frictionless API changes

parent 456a860f
......@@ -27,7 +27,7 @@ class MissingRequiredHeader(Check):
super().__init__(descriptor)
self.__required_field_names = self.get("required_field_names")
def validate_header(self):
def validate_start(self):
for pos, field_name in enumerate(self.__required_field_names):
if field_name not in self.resource.header:
yield MissingRequiredHeaderError(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment