haive.core.utils.haive_discovery.engine_analyzer¶

Analyzer for Haive engine components.

Classes¶

EngineAnalyzer

Analyzer for Haive engines.

Module Contents¶

class haive.core.utils.haive_discovery.engine_analyzer.EngineAnalyzer[source]¶

Bases: haive.core.utils.haive_discovery.base_analyzer.ComponentAnalyzer

Analyzer for Haive engines.

analyze(obj, module_path)[source]¶

Analyze the object and return component info.

Parameters:
  • obj (Any)

  • module_path (str)

Return type:

haive.core.utils.haive_discovery.component_info.ComponentInfo

can_analyze(obj)[source]¶

Check if this analyzer can handle the given object.

Parameters:

obj (Any)

Return type:

bool