示例#1
0
文件: cell.py 项目: norro/ecto
    def __init__(self, **kwargs):
        _cell_base.__init__(self)

        _cell_base.declare_params(self)

        for k, v in kwargs.iteritems():
            self.params.at(k).set(v)
        self.params.notify()
        _cell_base.declare_io(self)
        _cell_base.configure(self)
        if self.__doc__ is None:
            self.__doc__ = "TODO docstr me."
        self.__doc__ = self.gen_doc(self.__doc__)
示例#2
0
    def __init__(self, **kwargs):
        _cell_base.__init__(self)

        _cell_base.declare_params(self)

        for k, v in kwargs.iteritems():
            self.params.at(k).set(v)
        self.params.notify()
        _cell_base.declare_io(self)
        _cell_base.configure(self)
        if self.__doc__ is None:
            self.__doc__ = "TODO docstr me."
        self.__doc__ = self.gen_doc(self.__doc__)
示例#3
0
    def __init__(self, *args, **kwargs):
        _cell_base.__init__(self)
        if args:
            _cell_base.name(self, args[0])

        _cell_base.declare_params(self)

        for k, v in kwargs.iteritems():
            self.params.at(k).set(v)
        self.params.notify()
        _cell_base.declare_io(self)
        if self.__doc__ is None:
            self.__doc__ = "TODO docstr me."
        self._short_doc = self.__doc__
        self.__doc__ = self.gen_doc(self.__doc__)
示例#4
0
文件: cell.py 项目: caomw/ecto
    def __init__(self, *args, **kwargs):
        _cell_base.__init__(self)
        if args:
            _cell_base.name(self, args[0])

        _cell_base.declare_params(self)

        for k, v in kwargs.iteritems():
            self.params.at(k).set(v)
        self.params.notify()
        _cell_base.declare_io(self)
        if self.__doc__ is None:
            self.__doc__ = "TODO docstr me."
        self._short_doc = self.__doc__
        self.__doc__ = self.gen_doc(self.__doc__)