Feature graphs¶
uptimely.spec.feature_graph provides dependency analysis and subgraph
selection. Graph rendering belongs to
uptimely.explorer.graph_render, not this package.
graph¶
uptimely.spec.feature_graph.graph exposes the complete feature graph and
feature-level subgraphs.
Describe the feature dependency graph and resolve dependencies for requested outputs.
GraphBase
¶
Shared helpers for system and subset feature dependency graphs.
input_names
property
¶
input_names: list[str]
Source-provided inputs required by functions in this graph.
feature_input_names
property
¶
feature_input_names: list[str]
Raw features required by functions but not produced by one.
feature_output_names
property
¶
feature_output_names: list[str]
Names of features exposed by this graph.
intermediate_names
property
¶
intermediate_names: set[str]
Names of features considered intermediate for this graph.
feature_intermediate_names
property
¶
feature_intermediate_names: set[str]
Names of features considered intermediate for this graph.
topology
¶
topology(item_type: str, skip_input: bool = False) -> list[list[str | NodeMeta | Node]]
Feature names grouped by dependency level.
Node is the graph library's node type, re-exported from
uptimely.spec.feature_graph. NodeMeta describes the feature or function
metadata carried by a node.
models¶
uptimely.spec.feature_graph.models defines the metadata attached to
feature and function nodes.
FeatureNode
dataclass
¶
Display metadata for a feature name and its logical metadata.
FunctionNode
dataclass
¶
Display metadata for one declared function template.