Skip to content

fix: handle contains search fallback#225

Open
moksha-hub wants to merge 1 commit into
atlanhq:mainfrom
moksha-hub:fix-search-contains-fallback
Open

fix: handle contains search fallback#225
moksha-hub wants to merge 1 commit into
atlanhq:mainfrom
moksha-hub:fix-search-contains-fallback

Conversation

@moksha-hub
Copy link
Copy Markdown

Summary

  • Handle contains operator requests on pyatlan fields that do not expose .contains() by falling back to .match()
  • Preserve native .contains() behavior when a field supports it
  • Add unit coverage for fallback, native handling, and unsupported fields

Fixes #157

Verification

  • uv sync
  • uv run python -m unittest discover -s tests -v
  • uvx ruff@0.3.0 check .
  • uvx ruff@0.3.0 format --check .
  • uvx pre-commit run --all-files

@moksha-hub moksha-hub requested review from Hk669 and firecast as code owners May 8, 2026 06:24
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.

[BUG] Search_assets tool failing with Error 'KeywordTextStemmedField' object has no attribute 'contains'

1 participant