File "/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 862, in filter_members
not keep, self.options)
File "/lib/python3.5/site-packages/sphinx/application.py", line 593, in emit_firstresult
for result in self.emit(event, *args):
File "/lib/python3.5/site-packages/sphinx/application.py", line 589, in emit
results.append(callback(self, *args))
File "/lib/python3.5/site-packages/sphinxcontrib/napoleon/__init__.py", line 428, in _skip_member
qualname = getattr(obj, '__qualname__', '')
File "/lib/python3.5/site-packages/goblin/element.py", line 211, in __repr__
self._data_type, self.value)
File "/lib/python3.5/site-packages/goblin/element.py", line 194, in getvalue
return self._val
AttributeError: 'SubOption' object has no attribute '_val'
SubOption is a sub-class of VertexProperty:
class SubOption(goblin.VertexProperty):
a = goblin.Property(goblin.Boolean, default=True)
b = goblin.Property(goblin.Boolean, default=True)
Build failure in sphinx:
SubOption
is a sub-class ofVertexProperty
:I hacked
element.py
to get my build to pass by addingself._val = None
to the class initializer forVertexProperty
(https://github.com/davebshow/goblin/blob/master/goblin/element.py#L183).