Use this to get deep information about a Hamilton module.

class hamilton.dataflows.InspectModuleResult(version, user, dataflow, python_dependencies, configurations, possible_inputs, nodes, designated_outputs)#
hamilton.dataflows.inspect_module(module: module) InspectModuleResult#

Inspects the import module for information.

This does more than inspect because the module has been loaded and thus we can put it into a Hamilton driver and ask questions of it.

from hamilton.contrib.user.zilto import text_summarization
from hamilton import dataflows

info = dataflows.inspect_module(text_summarization)

module – the module with Hamilton code to deeply introspect.


hamilton.dataflow.InspectModuleResult object.