in databao/core/thread.py [0:0]
def _materialize(self, rows_limit: int | None) -> None:
data_result = self._materialize_data(rows_limit)
if not self._auto_output_modality:
return
# The Executor can provide output modality hints
hints = data_result.meta.get(OutputModalityHints.META_KEY, OutputModalityHints())
if not hints.should_visualize:
return
# Let the Visualizer recommend a plot based on the df if no prompt is provided (None)
self.plot(hints.visualization_prompt)