Reword error message

This commit is contained in:
Jonathan Kim 2020-06-27 18:29:03 +01:00
parent 847af75fd9
commit fcdcae1f57

View File

@ -38,7 +38,7 @@ class BaseType(SubclassWithMeta):
def __init_subclass_with_meta__(
cls, name=None, description=None, _meta=None, **_kwargs
):
assert "_meta" not in cls.__dict__, "Can't assign directly meta"
assert "_meta" not in cls.__dict__, "Can't assign meta directly"
if not _meta:
return
_meta.name = name or cls.__name__