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"]).
Copy link

github-actions bot commented Oct 6, 2025

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Oct 6, 2025
@github-actions github-actions bot removed the Stale label Oct 7, 2025
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