Commit e935c1e1 authored by Gero Müller's avatar Gero Müller
Browse files

add constructor arguments for workspace instances

parent b222fd8c
......@@ -84,11 +84,11 @@ class AbstractExtension(object):
self.__workspace_directory = directory
def get_workspace_instance(self, name, key=None, user=None,
workspace=None, db=None):
workspace=None, db=None, **kwargs):
classname = ".".join(["vispa.extensions",,
self.__workspace_directory, name])
return vispa.workspace.get_instance(classname, key, user,
workspace, db)
workspace, db, init_args=kwargs)
def clear_workspace_instance(self, name, key=None, user=None,
workspace=None, db=None):
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