Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def save_context(self, details, workflow_manage):
self.err_message = details.get('err_message')
for key, value in workflow_variable.items():
workflow_manage.context[key] = value
for item in details.get('global_fields', []):
workflow_manage.context[item.get('key')] = item.get('value')

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.

There are no notable issues or optimizations in the given code. The function save_context updates a context dictionary based on the inputs and then proceeds to handle global fields if they exist in the input dictionary. However, the documentation provided is not complete; you should include method docstrings for all functions (like get_node_params_serializer_class) that do not have them yet.

Expand Down