MCPcopy Create free account
hub / github.com/dot-agent/nextpy / interdependent_state

Function interdependent_state

tests/test_state.py:921–929  ·  view source on GitHub ↗

A state with varying dependency between vars. Returns: instance of InterdependentState

()

Source from the content-addressed store, hash-verified

919
920@pytest.fixture
921def interdependent_state() -> BaseState:
922 """A state with varying dependency between vars.
923
924 Returns:
925 instance of InterdependentState
926 """
927 s = InterdependentState()
928 s.dict() # prime initial relationships by accessing all ComputedVars
929 return s
930
931
932def test_not_dirty_computed_var_from_var(interdependent_state):

Callers

nothing calls this directly

Calls 2

InterdependentStateClass · 0.85
dictMethod · 0.45

Tested by

no test coverage detected