def _sync_state(self): try: signature = signature_spec(self._the_function()) self._send_update("signature", signature) except Exception as e: self.error("Error while getting function signature: {}".format( str(e)))
def _sync_state(self): signature = signature_spec(self._the_function()) self._send_update("signature", signature)
def _function_name_changed(self, old, new): self.log.info("Binding to function name {}...".format(new)) signature = signature_spec(self._the_function()) self._send_update("signature", signature)
def _sync_state(self): try: signature = signature_spec(self._the_function()) self._send_update("signature", signature) except Exception as e: self.error("Error while getting function signature: {}".format(str(e)))