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

feat(pymilvus/settings.py): Load configuration without altering the environment #2192

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

laipz8200
Copy link

related #2166.

This PR will replace environs with the more lightweight python-dotenv. It can load configuration from the dot env file without altering the system environment.

@sre-ci-robot
Copy link

Welcome @laipz8200! It looks like this is your first PR to milvus-io/pymilvus 🎉

…nvironment.

Signed-off-by: -LAN- <laipz8200@outlook.com>
@laipz8200 laipz8200 force-pushed the feat/load-configuration-without-altering-the-environment branch from 8fa848a to 4854c64 Compare July 22, 2024 13:48
@mergify mergify bot added dco-passed and removed needs-dco labels Jul 22, 2024
Copy link
Contributor

@XuanYang-cn XuanYang-cn left a comment

Choose a reason for hiding this comment

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

Please replace the dependencies in pyproject.toml too.

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: laipz8200
To complete the pull request process, please ask for approval from longjiquan after the PR has been reviewed.

The full list of commands accepted by this bot can be found 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

Signed-off-by: -LAN- <laipz8200@outlook.com>
@laipz8200 laipz8200 force-pushed the feat/load-configuration-without-altering-the-environment branch from 47f605f to 61bd7ce Compare July 27, 2024 06:30
@mergify mergify bot added dco-passed and removed needs-dco labels Jul 27, 2024
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.

None yet

4 participants