-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add env vars support to Pyfunc ensembler (#181)
* Add create router version endpoint * Edit error message * Update OpenAPI specs and API with new endpoint * Add tests for CreateRouterVersion * Add UI components for creating router versions without deployment * Refactor UI submit event * Add SDK method to create new router version * Add tests for create version SDK method * Refactor error handling * Rename buttons * Change button colours to shades of primary colour * Add custom CSS colours * Refactor variables in router view * Refactor confirmation messages * Update put operation to create router versions to a post operation * Add SDK sample to reflect saving of router versions * Remove redundant words from OpenAPI spec descriptions * Rename UpdateSummary to RouterUpdateSummary for consistency * Rename callback functions for clarity * Refactor VersionComparisonView to receive two onSubmit handlers * Simplify edit a router sample * Refactor create_version to now be a classmethod of RouterVersion * Refactor CreateRouterVersion endpoint to use RouterVersionConfig * Edit UI to use refactored schema for creating router version * Refactor create_version to now be a classmethod of RouterVersion * Refactor create router version as router controller method * Fix lint comments * Reword comments in updateRouter * Add comments in updateRouter * Add env vars to ensembler model and deployment service * Add pyfunc env vars to UI display * Fix env var config display * Add tests for env var in pyfunc_config * Fix OpenAPI files * Fix rebasing bugs * Fix rebasing bugs * Remove leftover statements * Add migration scripts * Fix typo in error message * Fix typos in migration script comments * Fix typos in migration scripts * Fix typos in migration scripts * Standardise migration script naming * Fix typos in migration scripts * Fix rebasing errors * Refactor pyfunc config view * Remove redundant migration scripts * Refactor router SDK class * Refactor pyfunc_config to prevent argument mutation
- Loading branch information
1 parent
0cabebe
commit 0763ebb
Showing
19 changed files
with
125 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-- Removes py_func_ref_config from table. | ||
-- Removes pyfunc_config from table. | ||
-- Hence, this migration involves data loss for ensemblers with type that is "pyfunc" | ||
ALTER TABLE ensembler_configs DROP COLUMN pyfunc_config; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- Adds py_func_ref_config to table. | ||
-- Adds pyfunc_config to table. | ||
ALTER TABLE ensembler_configs ADD pyfunc_config jsonb; | ||
|
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
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
Oops, something went wrong.