-
Notifications
You must be signed in to change notification settings - Fork 60
[AQUA] Use custom model name in deployment #1236
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
Changes from 1 commit
e86c870
82893a8
2b7120d
6793873
7db3ca8
b902ae5
132802b
4ed0220
ef257ab
9d426ba
6804547
99f5a78
ea04433
a9ea2d5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -147,6 +147,7 @@ class AquaModelApp(AquaApp): | |
| def create( | ||
| self, | ||
| model_id: Union[str, AquaMultiModelRef], | ||
| display_name: Optional[str] = None, | ||
| project_id: Optional[str] = None, | ||
| compartment_id: Optional[str] = None, | ||
| freeform_tags: Optional[Dict] = None, | ||
|
|
@@ -204,6 +205,9 @@ def create( | |
| **(defined_tags or {}), | ||
| } | ||
|
|
||
| if display_name: | ||
|
||
| service_model.display_name = display_name | ||
|
|
||
| custom_model = ( | ||
| DataScienceModel() | ||
| .with_compartment_id(target_compartment) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.