From 95d919c5c7fd335b2efec5775a676f9303fddc88 Mon Sep 17 00:00:00 2001
From: davebshow <davebshow@gmail.com>
Date: Thu, 7 Jul 2016 12:51:22 -0400
Subject: [PATCH] cleanup

---
 goblin/api.py        | 6 ++----
 goblin/properties.py | 2 --
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/goblin/api.py b/goblin/api.py
index 39117f2..e920ff9 100644
--- a/goblin/api.py
+++ b/goblin/api.py
@@ -272,12 +272,10 @@ class Edge(meta.Element):
 
 class VertexProperty(meta.Element, abc.BaseProperty):
 
-    __data_type__ = None
-
     def __init__(self, data_type, *, value=None, default=None):
         if isinstance(data_type, type):
             data_type = data_type()
-        self.__data_type__ = data_type
+        self._data_type = data_type
         self._value = value
         self._default = default
 
@@ -287,7 +285,7 @@ class VertexProperty(meta.Element, abc.BaseProperty):
 
     @property
     def data_type(self):
-        return self.__data_type__
+        return self._data_type
 
     @property
     def value(self):
diff --git a/goblin/properties.py b/goblin/properties.py
index abbdd62..ab74549 100644
--- a/goblin/properties.py
+++ b/goblin/properties.py
@@ -68,8 +68,6 @@ class Property(abc.BaseProperty):
     """API class used to define properties. Replaced with
       :py:class:`PropertyDescriptor` by :py:class:`api.ElementMeta`."""
 
-    descriptor = PropertyDescriptor
-
     def __init__(self, data_type, *, default=None):
         if isinstance(data_type, type):
             data_type = data_type()
-- 
GitLab