-
Notifications
You must be signed in to change notification settings - Fork 2
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
#174: Added get_language_definition to the language container deployer #175
Conversation
@@ -213,6 +213,16 @@ def _update_previous_language_settings(self, alter_type: LanguageActivationLevel | |||
path_in_udf, prev_lang_aliases) | |||
return new_definitions_str | |||
|
|||
def get_language_definition(self, bucket_file_path: str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be cleaner to split _generate_new_language_settings into a function which generates the " other_definitions" and one which generates "new_language_alias_definition"? then we do not have to call with an empty list, but instead have one calling function calling both, and one only calling one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in general yes, but because we haven't extracted this code into a central place, yet, we need to manually copy changes to sagemaker-extension, for that reason, I would like to keep the changes simple for the moment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alright. maybe add a comment or something to do later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will create a ticket
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #174
All Submissions:
[CodeBuild]
to the commit message