Skip to content

fix(python): add missing FTS type annotations to stubs and wrappers#497

Merged
egolearner merged 1 commit into
alibaba:mainfrom
egolearner:fix/fts-type-annotations
Jun 23, 2026
Merged

fix(python): add missing FTS type annotations to stubs and wrappers#497
egolearner merged 1 commit into
alibaba:mainfrom
egolearner:fix/fts-type-annotations

Conversation

@egolearner

Copy link
Copy Markdown
Collaborator
  • Add FtsIndexParam/FtsQueryParam class stubs to model/param/init.pyi
  • Add Fts/FtsIndexParam/FtsQueryParam to zvec/init.pyi exports
  • Extend Query.param type to include FtsQueryParam
  • Update Query._validate to allow fts + FtsQueryParam combination
  • Extend FieldSchema.index_param type to support FtsIndexParam
  • Extend Collection.create_index type to support FtsIndexParam

- Add FtsIndexParam/FtsQueryParam class stubs to model/param/__init__.pyi
- Add Fts/FtsIndexParam/FtsQueryParam to zvec/__init__.pyi exports
- Extend Query.param type to include FtsQueryParam
- Update Query._validate to allow fts + FtsQueryParam combination
- Extend FieldSchema.index_param type to support FtsIndexParam
- Extend Collection.create_index type to support FtsIndexParam

@Cuiyus Cuiyus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@egolearner egolearner merged commit 9bd0c6e into alibaba:main Jun 23, 2026
15 checks passed
@egolearner egolearner deleted the fix/fts-type-annotations branch June 23, 2026 08:14
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.

2 participants