Conditions | 3 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """Schema implementation based on JSONSchema v4 draft |
||
36 | def validate(self, some_input): |
||
37 | if self._input_validator is not None: |
||
38 | try: |
||
39 | self._input_validator.validate(some_input) |
||
40 | return True |
||
41 | |||
42 | except jsonschema.ValidationError: |
||
43 | raise |
||
44 | |||
45 | else: |
||
46 | # No input schema meams we accept everything |
||
47 | return True |
||
48 | |||
55 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.py
files in your module folders. Make sure that you place one file in each sub-folder.