Add xyzgrid support commands

This commit is contained in:
Griatch 2021-07-08 21:40:35 +02:00
parent 1c06363bbe
commit 9706d14293
9 changed files with 345 additions and 100 deletions

View file

@ -92,8 +92,8 @@ def homogenize_prototype(prototype, custom_keys=None):
homogenizations like adding missing prototype_keys and setting a default typeclass.
"""
if not prototype or not isinstance(prototype, dict):
return {}
if not prototype or isinstance(prototype, str):
return prototype
reserved = _PROTOTYPE_RESERVED_KEYS + (custom_keys or ())