You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validation completes with strict enforcement and provides results back.
Observed Behavior
Traceback (most recent call last):
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/bin/schema-enforcer", line 8, in <module>
sys.exit(main())
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/schema_enforcer/cli.py", line 78, in validate
for result in instance.validate(smgr, strict):
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/schema_enforcer/schemas/jsonschema.py", line 51, in validate
validator = self.__get_strict_validator()
File "/Users/justin.drew/Library/Caches/pypoetry/virtualenvs/gizmo-9me0dq9Y-py3.8/lib/python3.8/site-packages/schema_enforcer/schemas/jsonschema.py", line 119, in __get_strict_validator
items = prop.get("items", {})
AttributeError: 'CommentedSeq' object has no attribute 'get'
Steps to Reproduce
Create schema.
Attempt to do a strict validation with "schema-enforcer validate --strict"
Profit?
The text was updated successfully, but these errors were encountered:
Environment
Expected Behavior
Validation completes with strict enforcement and provides results back.
Observed Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: