Slot: builder

Optional Python callable that builds the network at YAML load time. When set, Network._resolve imports <module>.<name> and invokes it with the parameters block as keyword arguments. The callable must return either a Network instance or a tuple (weights, lengths, node_params). Use the existing Callable slots (name is the function name, module is its dotted module path). Reuses the same idiom as TVB monitor class references; no free module:function strings.

__

URI: tvbo:slot/builder

Applicable Classes

Name Description Modifies Slot
GraphGenerator Backend-agnostic graph generator specification no

Properties

Type and Range

Property Value
Range Callable
Domain Of GraphGenerator

Cardinality and Requirements

Property Value

Slot Characteristics

Property Value
Owner GraphGenerator

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/tvbo

Mappings

Mapping Type Mapped Value
self tvbo:builder
native tvbo:builder

LinkML Source

name: builder
description: 'Optional Python callable that builds the network at YAML load time.
  When set, ``Network._resolve`` imports ``<module>.<name>`` and invokes it with the
  ``parameters`` block as keyword arguments. The callable must return either a ``Network``
  instance or a tuple ``(weights, lengths, node_params)``. Use the existing ``Callable``
  slots (``name`` is the function name, ``module`` is its dotted module path). Reuses
  the same idiom as TVB monitor class references; no free ``module:function`` strings.

  '
from_schema: https://w3id.org/tvbo
rank: 1000
owner: GraphGenerator
domain_of:
- GraphGenerator
range: Callable
inlined: true