示例#1
0
    def __init__(
        self,
        version_of,
        base_name,
        type,
        created_by,
        take_name=conf.default_take_name,
        version_number=1,
        note="",
        extension="",
        is_published=False,
        status=None,
        inputs=None,
        outputs=None
    ):
        IOMixin.__init__(self, inputs, outputs)

        self.is_published = is_published

        self._version_of = version_of
        self._type = type
        self.base_name = base_name
        self.take_name = take_name
        self.version_number = version_number
        self.note = note
        self.created_by = created_by

        self._filename = ""
        self._path = ""
        self._output_path = ""

        # setting the extension will update the path variables already
        self.extension = extension

        self.status = status
示例#2
0
    def __init__(self,
                 version_of,
                 base_name,
                 type,
                 created_by,
                 take_name=conf.default_take_name,
                 version_number=1,
                 note="",
                 extension="",
                 is_published=False,
                 status=None,
                 inputs=None,
                 outputs=None):
        IOMixin.__init__(self, inputs, outputs)

        self.is_published = is_published

        self._version_of = version_of
        self._type = type
        self.base_name = base_name
        self.take_name = take_name
        self.version_number = version_number
        self.note = note
        self.created_by = created_by

        self._filename = ""
        self._path = ""
        self._output_path = ""

        # setting the extension will update the path variables already
        self.extension = extension

        self.status = status
示例#3
0
 def __init__(self, **kwargs):
     super(IOMixedInClass2, self).__init__(**kwargs)
     IOMixin.__init__(self, **kwargs)
示例#4
0
 def __init__(self, **kwargs):
     super(IOMixedInClass2, self).__init__(**kwargs)
     IOMixin.__init__(self, **kwargs)