Пример #1
0
    def __init__(self, statuses=None, target_entity_type=None, **kwargs):
        super(StatusList, self).__init__(**kwargs)
        TargetEntityTypeMixin.__init__(self, target_entity_type, **kwargs)

        if statuses is None:
            statuses = []
        self.statuses = statuses
Пример #2
0
    def __init__(self, statuses=None, target_entity_type=None, **kwargs):
        super(StatusList, self).__init__(**kwargs)
        TargetEntityTypeMixin.__init__(self, target_entity_type, **kwargs)

        if statuses is None:
            statuses = []
        self.statuses = statuses
Пример #3
0
 def __init__(self, name=None, code=None, target_entity_type=None,
              **kwargs):
     kwargs['name'] = name
     kwargs['target_entity_type'] = target_entity_type
     super(Type, self).__init__(**kwargs)
     TargetEntityTypeMixin.__init__(self, **kwargs)
     #CodeMixin.__init__(self, **kwargs)
     self.code = code
Пример #4
0
 def __init__(self,
              target_entity_type=None,
              path=None,
              filename=None,
              **kwargs):
     super(FilenameTemplate, self).__init__(**kwargs)
     TargetEntityTypeMixin.__init__(self, target_entity_type, **kwargs)
     self.path = path
     self.filename = filename
Пример #5
0
 def __init__(self,
              target_entity_type=None,
              path=None,
              filename=None,
              **kwargs):
     super(FilenameTemplate, self).__init__(**kwargs)
     TargetEntityTypeMixin.__init__(self, target_entity_type, **kwargs)
     self.path = path
     self.filename = filename
Пример #6
0
 def __init__(self,
              name=None,
              code=None,
              target_entity_type=None,
              **kwargs):
     kwargs['name'] = name
     kwargs['target_entity_type'] = target_entity_type
     super(Type, self).__init__(**kwargs)
     TargetEntityTypeMixin.__init__(self, **kwargs)
     #CodeMixin.__init__(self, **kwargs)
     self.code = code
 def __init__(self, **kwargs):
     super(TargetEntityTypeMixedClass, self).__init__(**kwargs)
     TargetEntityTypeMixin.__init__(self, **kwargs)
 def __init__(self, **kwargs):
     super(TargetEntityTypeMixedClass, self).__init__(**kwargs)
     TargetEntityTypeMixin.__init__(self, **kwargs)