Skip to content

Conversation

aajinn
Copy link

@aajinn aajinn commented Aug 1, 2025

This fix addresses a TypeError: 'ActionSearch' object is not subscriptable caused by treating an ActionSearch object like a dictionary. The code now correctly uses dot notation (search.action.query instead of search.action["query"]).

Summary

Replaced subscript notation with dot notation for accessing properties of the ActionSearch object. This resolves the following error:

TypeError: 'ActionSearch' object is not subscriptable

Changes

  • Replaced search.action["query"] with search.action.query

Motivation

Ensure compatibility with the ActionSearch class interface and prevent runtime errors when processing search steps.

Testing

  • Ran local tests to confirm error no longer appears
  • Verified query and status values are printed correctly

aajinn added 2 commits August 1, 2025 07:37
This fix addresses a TypeError: 'ActionSearch' object is not subscriptable caused by treating an ActionSearch object like a dictionary. The code now correctly uses dot notation (search.action.query instead of search.action["query"]).
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