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

config.json search order #1640

Open
wutaomsft opened this issue Oct 28, 2022 · 0 comments
Open

config.json search order #1640

wutaomsft opened this issue Oct 28, 2022 · 0 comments

Comments

@wutaomsft
Copy link

It is not clear how MLClient searches for config.json. It seems that from practice, it does not need to be in the current directory of the code and is discoverable if it is at one of the parents of the current directory; but this behavior is not documented.

Also, MLClient's from_config() does not expect config.json to be in ./.azureml directory, which is the default path for workspace.write_config() https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.workspace.workspace?view=azure-ml-py#azureml-core-workspace-workspace-write-config . Would be great to be consistent about this, or at least document their behavior in more detail.

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

No branches or pull requests

1 participant