Add in PyCharm IDE project details, and improve the sphinx apidoc autogeneration of documentation.

This commit is contained in:
Mike Auty
2014-04-02 02:44:55 +01:00
parent fa789fb174
commit 50e8f6a627
17 changed files with 1658 additions and 3 deletions
+7 -3
View File
@@ -34,7 +34,7 @@ class Template(object):
This is effectively a class for currying object calls
"""
def __init__(self, structure_name: str = None, **kwargs):
def __init__(self, structure_name = None, **kwargs):
"""Stores the keyword arguments for later use"""
self._kwargs = kwargs
self._structure_name = structure_name
@@ -53,9 +53,13 @@ class Template(object):
"""Updates the keyword arguments"""
self._kwargs.update(newargs)
def __call__(self, context: context_module.ContextInterface, layer_name: str, offset: int, parent: ObjectInterface = None):
def __call__(self, context: context_module.ContextInterface, layer_name, offset, parent = None):
"""Constructs the object
:type context: framework.interfaces.context.ContextInterface
:type offset: int
:type parent: ObjectInterface
:type layer_name: str
:param context:
:param layer_name:
:param offset: