Skip to content

Conversation

@shaohuzhang1
Copy link
Contributor

fix: Unable to retrieve session variables after form collection node

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Aug 25, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Aug 25, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@shaohuzhang1 shaohuzhang1 merged commit 5dafe6f into v2 Aug 25, 2025
3 of 5 checks passed
self.workflow_manage.chat_context = self.workflow_manage.get_chat_info().get_chat_variable()

def get_node_params_serializer_class(self) -> Type[serializers.Serializer]:
pass
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provided code snippet is missing some closing parentheses to match its opening ones. Additionally, there are no return statements in the get_node_params_serializer_class method. Here's an updated version with corrections:

@@ -55,6 +55,7 @@ def save_context(self, details, workflow_manage):
             workflow_manage.context[key] = value
         for item in details.get('global_fields', []):
             workflow_manage.context[item.get('key')] = item.get('value')
+        self.workflow_manage.chat_context = self.workflow_manage.get_chat_info().get_chat_variable()

     def get_node_params_serializer_class(self) -> Type[serializers.Serializer]:
         return ...  # Add appropriate logic here

Corrections Made:

  1. Closing Parenthesis: Added a closing parenthesis at the end of line 58.
  2. Return Statement: Added a placeholder string return ... in the get_node_params_serializer_class method. You should replace it with the actual logic you intend this function to execute.

These changes ensure that the code is syntactically correct. If you have any other questions or need further assistance, feel free to ask!

@shaohuzhang1 shaohuzhang1 deleted the pr@v2@fix_chat_variable branch August 25, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants