Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema Validation error with non-empty 'rename' set #18

Open
Enormoss opened this issue Feb 13, 2023 · 0 comments
Open

Schema Validation error with non-empty 'rename' set #18

Enormoss opened this issue Feb 13, 2023 · 0 comments

Comments

@Enormoss
Copy link

If config file contains non-empty dictionary for 'rename',
function load_config in config.py throw exception of Schema validation error.

SchemaError: Key 'rename' error:
Wrong keys '836d1983631e' in {'836d1983631e': 'room'}

Solution is to set in config.py key 'rename' to type of 'object' on

Optional('rename'): {}

to

 Optional('rename'): object

as is mentioned at https://github.com/keleshev/schema#extra-keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant