File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ def validate_package(
3333 timer = helpers .Timer ()
3434 reports : List [Report ] = []
3535 resources = package .resources if name is None else [package .get_resource (name )]
36- with_fks = any (res .schema and res .schema .foreign_keys for res in resources )
36+ with_foreign_keys = any (
37+ res .schema and res .schema .foreign_keys for res in resources
38+ )
3739
3840 # Prepare checklist
3941 checklist = checklist or Checklist ()
@@ -45,7 +47,7 @@ def validate_package(
4547 return Report .from_validation (time = timer .time , errors = exception .to_errors ())
4648
4749 # Validate sequential
48- if not parallel or with_fks :
50+ if not parallel or with_foreign_keys :
4951 for resource in resources :
5052 report = resource .validate (
5153 checklist = checklist ,
You can’t perform that action at this time.
0 commit comments