Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine interfaces for milvus_client #1859

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

czs007
Copy link
Contributor

@czs007 czs007 commented Jan 8, 2024

No description provided.

@czs007
Copy link
Contributor Author

czs007 commented Jan 8, 2024

/hold

pymilvus/exceptions.py Outdated Show resolved Hide resolved
@czs007 czs007 force-pushed the refine_2024 branch 2 times, most recently from c4bd7c3 to 607432d Compare January 11, 2024 11:14
@mergify mergify bot added the ci-passed label Jan 11, 2024
@czs007
Copy link
Contributor Author

czs007 commented Jan 15, 2024

/unhold

pymilvus/milvus_client/index.py Outdated Show resolved Hide resolved
pymilvus/milvus_client/milvus_client.py Outdated Show resolved Hide resolved
pymilvus/milvus_client/milvus_client.py Show resolved Hide resolved
**kwargs,
) -> List[dict]:
) -> List[List[dict]]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change the Returns in doc

pymilvus/milvus_client/milvus_client.py Outdated Show resolved Hide resolved
**kwargs,
):
) -> Dict:
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change the Returns and Args in doc

pymilvus/milvus_client/index.py Show resolved Hide resolved
@XuanYang-cn
Copy link
Contributor

@czs007 the docstring aren't updated with the methods, please refresh the docstring according to the latest methods.

pymilvus/milvus_client/index.py Outdated Show resolved Hide resolved
pymilvus/milvus_client/index.py Outdated Show resolved Hide resolved
@czs007 czs007 force-pushed the refine_2024 branch 2 times, most recently from 54eb3d4 to 3af370e Compare January 15, 2024 11:53
The main focus of this PR is to port some interfaces from ORM
and transform them from an object-oriented form to a functional form.
As these are new interfaces of MilvusClient, certain parameters and return values
have been modified compared to the original ORM interfaces.

Signed-off-by: zhenshan.cao <[email protected]>
@XuanYang-cn
Copy link
Contributor

/lgtm
/approve

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: czs007, XuanYang-cn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit d7a402b into milvus-io:master Jan 15, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants