haive.core.graph.node.base_node_config¶

Base Node Configuration for V2 Nodes.

This module provides the base configuration class for v2 nodes with improved type safety and generic support.

Classes¶

BaseNodeConfig

Base node config with generic input/output typing support for v2 nodes.

Module Contents¶

class haive.core.graph.node.base_node_config.BaseNodeConfig(/, **data)[source]¶

Bases: haive.core.graph.node.base_config.NodeConfig, Generic[TInput, TOutput]

Base node config with generic input/output typing support for v2 nodes.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)