Commit 44145302 authored by davebshow's avatar davebshow
Browse files

remove val kwarg again?

parent b3ebe3ae
......@@ -154,12 +154,11 @@ class VertexProperty(Vertex, abc.BaseProperty):
__descriptor__ = VertexPropertyDescriptor
def __init__(self, data_type, *, val=None, default=None, db_name=None,
def __init__(self, data_type, *, default=None, db_name=None,
card=None):
if isinstance(data_type, type):
data_type = data_type()
self._data_type = data_type
self._val = val
self._default = default
self._db_name = db_name
if card is None:
......@@ -180,6 +179,8 @@ class VertexProperty(Vertex, abc.BaseProperty):
def setvalue(self, val):
self._val = val
value = property(getvalue, setvalue)
@property
def db_name(self):
return self._db_name
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment