Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Alexandre Bulté
validata-ui
Commits
35031017
Commit
35031017
authored
Oct 01, 2018
by
Christophe Benz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow validata-validate API changes
parent
aed08c41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
validata_ui_next/validate_helper.py
validata_ui_next/validate_helper.py
+1
-5
No files found.
validata_ui_next/validate_helper.py
View file @
35031017
...
...
@@ -9,8 +9,6 @@ import ujson as json
from
validata_validate
import
validate
from
goodtables
import
Inspector
VALIDATA_MAX_ROWS
=
100000
#
# MEMENTO: json.load(pkg_resources.resource_stream('validata_validate', 'spec.json'))
...
...
@@ -100,11 +98,9 @@ class ValidatorHelper:
checks
.
append
({
check_conf
[
'name'
]:
check_conf
[
'params'
]})
pre_checks_conf
=
c_checks
.
get
(
'pre_checks'
)
inspector
=
Inspector
(
checks
=
checks
,
row_limit
=
VALIDATA_MAX_ROWS
)
return
validate
(
source
=
source
,
inspector
=
inspector
,
schema
=
sc_info
[
'schema'
],
pre_checks_conf
=
pre_checks_conf
,
checks
=
checks
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment