Пример #1
0
 def accept(self):
     key = self.name_widget.text()
     value = self.value_widget.text()
     persist = self.box_widget.isChecked()
     asyncio.ensure_future(
         exc_to_warning(
             self.dataset_ctl.set(key, pyon.decode(value), persist)))
     QtWidgets.QDialog.accept(self)
Пример #2
0
 def scan_repository_async(self, new_cur_rev=None):
     asyncio.ensure_future(exc_to_warning(
         self.scan_repository(new_cur_rev)))
Пример #3
0
 def scan_repository_async(self, new_cur_rev=None):
     asyncio.ensure_future(
         exc_to_warning(self.scan_repository(new_cur_rev)))
Пример #4
0
 def scan_async(self, new_cur_rev=None):
     asyncio. async (exc_to_warning(self.scan(new_cur_rev)))
Пример #5
0
 def scan_async(self, new_cur_rev=None):
     asyncio.async(exc_to_warning(self.scan(new_cur_rev)))