<commit_before># coding: utf-8
import console
from ElementBase import ElementBase
class ShowAlert(ElementBase):
	def get_input(self):
		return 'string'
		
	def get_output(self):
		return None
		
	def get_params(self):
		return None
		
	def set_params(self):
		return None
		
	def get_description(self):
		return "This show an alert from the string that is in the input parameter"
	
	def get_title(self):
		return 'Show Alert'
		
	def get_icon(self):
		return 'iob:alert_circled_256'
		
	def get_category(self):
		return 'Utility'
	
	def run(self, input):
		print console.alert(input)<commit_msg>added ui.in_background to hopefully remove error in 1.5<commit_after># coding: utf-8
import console
import ui
from ElementBase import ElementBase
class ShowAlert(ElementBase):
	def get_input(self):
		return 'string'
		
	def get_output(self):
		return None
		
	def get_params(self):
		return None
		
	def set_params(self):
		return None
		
	def get_description(self):
		return "This show an alert from the string that is in the input parameter"
	
	def get_title(self):
		return 'Show Alert'
		
	def get_icon(self):
		return 'iob:alert_circled_256'
		
	def get_category(self):
		return 'Utility'
		
	@ui.in_background
	def run(self, input):
		print console.alert(input)
{'fraction_non_alphanumeric': 0.08399366085578447, 'fraction_numerical': 0.00792393026941363, 'mean_word_length': 4.30672268907563, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1837329', 'n_tokens_mistral': 467, 'n_tokens_neox': 408, 'n_words': 131}