autointent.schemas.node_validation.SearchSpaceConfig#

class autointent.schemas.node_validation.SearchSpaceConfig#

Bases: pydantic.RootModel[list[SearchSpaceType]]

Search space configuration.

__iter__()#

Iterate over the root.

Return type:

collections.abc.Iterator[SearchSpaceType]

__getitem__(item)#

To get item directly from the root.

Parameters:

item (int) – Index

Returns:

Item

Return type:

SearchSpaceType

classmethod validate_nodes(data)#

Validate the search space configuration.

Parameters:

data (list[Any]) – List of search space configurations.

Returns:

List of validated search space configurations.

Return type:

list[Any]