Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
validata-ui
Commits
af1a8f31
Commit
af1a8f31
authored
May 23, 2019
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore schemas that fail to load
parent
5b18fc90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
validata_ui/validate_helper.py
validata_ui/validate_helper.py
+2
-1
No files found.
validata_ui/validate_helper.py
View file @
af1a8f31
...
...
@@ -21,7 +21,8 @@ class ValidatorHelper:
schema
=
schema_config
[
'schema'
]
log
.
info
(
'Loading schema %r from %r'
,
code
,
schema
)
schema_instance
=
cls
.
validator
.
load_schema
(
schema
)
cls
.
schema_dict
[
code
]
=
{
**
schema_config
,
"schema_instance"
:
schema_instance
}
if
schema_instance
:
cls
.
schema_dict
[
code
]
=
{
**
schema_config
,
"schema_instance"
:
schema_instance
}
@
classmethod
def
schema_exist
(
cls
,
schema_code
):
...
...
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