Add xyzgrid support commands
This commit is contained in:
parent
1c06363bbe
commit
9706d14293
9 changed files with 345 additions and 100 deletions
|
|
@ -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 ())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue