-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow using a file URI as model version source (#8126)
* Add a test Signed-off-by: harupy <17039389+harupy@users.noreply.github.com> * Add a test Signed-off-by: harupy <17039389+harupy@users.noreply.github.com> * Disallow file URI Signed-off-by: harupy <hkawamura0130@gmail.com> * Add a test Signed-off-by: harupy <hkawamura0130@gmail.com> * Ensure artifact URI is a file URI Signed-off-by: harupy <hkawamura0130@gmail.com> * Add a new test Signed-off-by: harupy <hkawamura0130@gmail.com> * Fix doc comment Signed-off-by: harupy <hkawamura0130@gmail.com> * Add test case Signed-off-by: harupy <hkawamura0130@gmail.com> * Fix is_local_uri Signed-off-by: harupy <hkawamura0130@gmail.com> * Fix valiation logic Signed-off-by: harupy <hkawamura0130@gmail.com> * Include 127.0.0.1 Signed-off-by: harupy <hkawamura0130@gmail.com> * Update comment Signed-off-by: harupy <hkawamura0130@gmail.com> * Remove dot Signed-off-by: harupy <hkawamura0130@gmail.com> * Update mlflow/environment_variables.py Signed-off-by: Harutaka Kawamura <hkawamura0130@gmail.com> --------- Signed-off-by: harupy <17039389+harupy@users.noreply.github.com> Signed-off-by: harupy <hkawamura0130@gmail.com> Signed-off-by: Harutaka Kawamura <hkawamura0130@gmail.com>
- Loading branch information
Showing
6 changed files
with
130 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters