Skip to content

Comments

Fix state access method in set_name function#6

Open
virgile-men wants to merge 1 commit intorun-llama:mainfrom
virgile-men:patch-1
Open

Fix state access method in set_name function#6
virgile-men wants to merge 1 commit intorun-llama:mainfrom
virgile-men:patch-1

Conversation

@virgile-men
Copy link

@virgile-men virgile-men commented Oct 8, 2025

This pull request updates how state is accessed in the 3a_tools_and_state.py file to use the store attribute of the Context object instead of direct calls to ctx.get. This ensures consistency in state management and may improve reliability when interacting with the context's state.

cf :

workflows-py/src/workflows/context/context.py - store(self)
workflows-py/src/workflows/context/state_store.py - get(self, path: str, default: Optional[Any] = Ellipsis)
workflows-py/src/workflows/context/state_store.py - set(self, path: str, value: Any)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant