make parameters available as object properties

这个提交包含在:
jasminium
2019-09-04 17:06:06 +01:00
父节点 a8dbb903fa
当前提交 cb63366361

查看文件

@@ -38,6 +38,11 @@ init()
floattype = dtypes['float_or_double']
class Properties:
pass
class UserObjectSingle:
def __init__(self, **kwargs):
@@ -46,6 +51,10 @@ class UserObjectSingle:
# created before the domain
self.order = None
self.kwargs = kwargs
self.props = Properties()
for k, v in kwargs.items():
setattr(self.props, k, v)
def __str__(self):
pass