diff --git a/goblin/element.py b/goblin/element.py index 4d5db7e7092ed9015d1a1307a90fa49a2eaedb59..10a9cce71d63f4fa2871fe4b98d50c3b202c5420 100644 --- a/goblin/element.py +++ b/goblin/element.py @@ -25,8 +25,9 @@ class ElementMeta(type): new_namespace[k] = v new_namespace['__mapping__'] = mapper.create_mapping(namespace, props) - logger.warning("Creating new Element class {}: {}".format( - name, new_namespace['__mapping__'])) + if name not in ('Element', 'Vertex', 'Edge', 'VertexProperty'): + logger.warning("Creating new Element class {}: {}".format( + name, new_namespace['__mapping__'])) result = type.__new__(cls, name, bases, new_namespace) return result