FakeState#

class brainstate.FakeState(value, name=None, **kwargs)#

The faked state, which is used to store the faked data in the program.

property name: str | None#

Get the name of the fake state.

Returns:

The name of the fake state, or None if not set.

Return type:

Optional[str]

property value: Any#

Get the value stored in the fake state.

Returns:

The value stored in the fake state.

Return type:

Any