MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / second_method

Method second_method

lib/crewai/tests/test_flow.py:591–597  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

589
590 @listen(first_method)
591 def second_method(self):
592 # Ensure the ID persists after state updates
593 assert hasattr(self.state, "id")
594 assert self.state.id == initial_id
595 self.state.counter += 1
596 self.state.message = "final"
597 assert self.state.id == initial_id
598
599 flow = UUIDStructuredFlow()
600 flow.kickoff()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected