Skip to content

Conversation

@yuce
Copy link
Contributor

@yuce yuce commented Dec 12, 2025

No description provided.

@yuce yuce changed the title Added asyncio client docs Asyncio client docs Dec 12, 2025
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.60%. Comparing base (4a6d923) to head (e7f8587).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #764      +/-   ##
==========================================
- Coverage   94.60%   94.60%   -0.01%     
==========================================
  Files         393      393              
  Lines       25056    25056              
==========================================
- Hits        23704    23703       -1     
- Misses       1352     1353       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yuce yuce changed the title Asyncio client docs [HZ-5291] Asyncio client docs Dec 12, 2025
@yuce yuce changed the title [HZ-5291] Asyncio client docs [HZ-5291] Asyncio Client API Docs Dec 12, 2025
Copy link

@amandalindsay amandalindsay left a comment

Choose a reason for hiding this comment

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

Just some minor comments and suggestions so approving in advance

Returns silently if there is no such listener added before.
Args:
registration_id: The id of registered listener.

Choose a reason for hiding this comment

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

Suggested change
registration_id: The id of registered listener.
registration_id: The id of the registered listener.

does not contain this key.
Warning:
This method returns a clone of original Document, modifying the

Choose a reason for hiding this comment

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

Suggested change
This method returns a clone of original Document, modifying the
This method returns a clone of the original Document. Modifying the

Choose a reason for hiding this comment

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

'Document' sometimes appears with an initial capital, sometimes without. For consistency, suggest we settle on one, preferably 'document' unless there's a reason it needs to be treated as a proper noun

Warning:
This method returns a clone of original Document, modifying the
returned Document does not change the actual Document in the VectorCollection. One

Choose a reason for hiding this comment

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

Suggested change
returned Document does not change the actual Document in the VectorCollection. One
returned Document does not change the actual Document in the VectorCollection. Put

Warning:
This method returns a clone of original Document, modifying the
returned Document does not change the actual Document in the VectorCollection. One
should put modified Document back to make changes visible to all nodes.

Choose a reason for hiding this comment

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

Suggested change
should put modified Document back to make changes visible to all nodes.
the modified Document back to make changes visible to all nodes.

Warning:
This method uses ``__hash__`` and ``__eq__`` methods of binary form
of the key, not the actual implementations of ``__hash__`` and
``__eq__`` defined in key's class.

Choose a reason for hiding this comment

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

Suggested change
``__eq__`` defined in key's class.
``__eq__`` defined in the key's class.

Warning:
This method uses ``__hash__`` and ``__eq__`` methods of binary form
of the key, not the actual implementations of ``__hash__`` and
``__eq__`` defined in key's class.

Choose a reason for hiding this comment

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

Suggested change
``__eq__`` defined in key's class.
``__eq__`` defined in the key's class.

) -> List[SearchResult]:
"""Returns the Documents closest to the given vector.
The search is performed using distance metric set when

Choose a reason for hiding this comment

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

Suggested change
The search is performed using distance metric set when
The search is performed using the distance metric set when

Warning:
This method uses ``__hash__`` and ``__eq__`` methods of binary form
of the key, not the actual implementations of ``__hash__`` and
``__eq__`` defined in key's class.

Choose a reason for hiding this comment

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

Suggested change
``__eq__`` defined in key's class.
``__eq__`` defined in the key's class.

Returns:
The Document associated with key, or ``None`` if there was
no mapping for key.

Choose a reason for hiding this comment

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

Suggested change
no mapping for key.
no mapping for the key.

to the advertised degree, and updating the entry node as necessary.
Warning:
This operation can take long time to execute and consume a lot of server resources.

Choose a reason for hiding this comment

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

Suggested change
This operation can take long time to execute and consume a lot of server resources.
This operation can take a long time to execute and consume a lot of server resources.

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.

3 participants