-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Consider this model:
from plugboard.component import Component, IOController as IO
from plugboard.process import LocalProcess
from plugboard.connector import AsyncioConnector
from plugboard.schemas import ConnectorSpec
class A(Component):
io = IO(outputs=["out_1"])
async def step(self) -> None:
pass
class B(Component):
io = IO(inputs=["in_1"])
async def step(self) -> None:
pass
process.dump("test-export.yaml")Fails with:
Input should be a valid dictionary [type=dict_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.12/v/dict_type
plugboard.process.args.state
Input should be a valid dictionary or instance of StateBackendSpec [type=model_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.12/v/model_type
Version Information
Plugboard version: 0.6.0
Platform: Linux-6.6.84.1-microsoft-standard-WSL2-x86_64-with-glibc2.39
Python version: 3.12.11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working