Пример #1
0
 def context_declaration(self):
     return [
         ACD(name='command', type=str, required=True),
         ACD(name='boundary',
             type=str,
             required=True,
             default='default-boundary'),
     ]
Пример #2
0
 def context_declaration(self):
     return [
         ACD(name='id',
             default=0,
             type=int,
             required=True,
             verbose_name=u'id элемента справочника'),
         ACD(name='isGetData',
             default=False,
             type=bool,
             required=True,
             verbose_name=u'признак загрузки данных')
     ]
Пример #3
0
 def context_declaration(self):
     return [
         ACD(name='id',
             type=int,
             required=True,
             verbose_name=u'Код группы')
     ]
Пример #4
0
 def context_declaration(self):
     return [
         ACD(name=self.parent.contextTreeIdName,
             type=int,
             required=True,
             verbose_name=u'Код группы')
     ]
Пример #5
0
 def context_declaration(self):
     return [
         ACD(name='id',
             type=int,
             required=True,
             verbose_name=u'id элемент справочника')
     ]
Пример #6
0
 def context_declaration(self):
     return [ACD(name='id', default=0, type=int, required=True, verbose_name=u'id группы справочника')]
Пример #7
0
 def context_declaration(self):
     return [
         ACD(name='filter', default='', type=str, required=True),
         ACD(name='branch_id', default=0, type=int, required=True)
     ]
Пример #8
0
 def context_declaration(self):
     base = self.parent
     id_name = base.contextTreeIdName
     return [ACD(name=id_name, default=0, type=int, required=True, verbose_name=u'id группы справочника')]
Пример #9
0
 def context_declaration(self):
     return [
         ACD(name='node', type=int, required=True, default=0),
         ACD(name='filter', type=str, required=True, default=0),
     ]