def _add_phone_hints_group(self, name): cti_phone_hints_group = CtiPhoneHintsGroup() cti_phone_hints_group.name = name self.add_me(cti_phone_hints_group) return cti_phone_hints_group.id
def _add_phone_hints_group(self, name): cti_phone_hints_group = CtiPhoneHintsGroup() cti_phone_hints_group.name = name self.session.begin() self.session.add(cti_phone_hints_group) self.session.commit() return cti_phone_hints_group.id