Skip to content

UserWarning: No validation schema is defined for the arguments of rule 'data_relation' / 'dependencies' / 'unique' #206

@ernests

Description

@ernests

Testing eve-sqlalchemy with Eve 1.1.5. and there are couple of Cerberus validator warnings and they break schema generation.

from eve_sqlalchemy.validation import ValidatorSQL
.../python3.9/site-packages/cerberus/validator.py:1607: UserWarning: No validation schema is defined for the arguments of rule 'data_relation'
  warn(
.../python3.9/site-packages/cerberus/validator.py:1607: UserWarning: No validation schema is defined for the arguments of rule 'dependencies'
  warn(
.../python3.9/site-packages/cerberus/validator.py:1607: UserWarning: No validation schema is defined for the arguments of rule 'readonly'
  warn(
.../python3.9/site-packages/cerberus/validator.py:1607: UserWarning: No validation schema is defined for the arguments of rule 'unique'
  warn(

I'm not entirely familiar with eve/cerberus/eve-sqlalchemy architecture. Where should I look to fix this? ValidatorSQL and some tests? I suspect that this could be an easy fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions