MCPcopy Index your code
hub / github.com/geekcomputers/Python / processing

Method processing

ThirdAI/Terms and Conditions/TkinterUI.py:145–157  ·  view source on GitHub ↗

Process a user query and display the output in a new window.

(self)

Source from the content-addressed store, hash-verified

143 messagebox.showinfo("Training Complete", "Training is done!")
144
145 def processing(self):
146 """
147 Process a user query and display the output in a new window.
148 """
149 question = self.query_entry.get()
150
151 # When there is no query submitted by the user
152 if not question:
153 messagebox.showwarning("No Query", "Please enter a query.")
154 return
155
156 output = self.client.query(question)
157 self.display_output(output)
158
159 def display_output(self, output_data):
160 """

Callers

nothing calls this directly

Calls 3

display_outputMethod · 0.95
queryMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected