Uh oh!
There was an error while loading. Please reload this page.
fix: Nullable fields in processing_config - #1732
Conversation
sagemaker-bot
commented
Jul 21, 2020
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
sagemaker-bot
commented
Jul 21, 2020
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
| if object_list is not None: | ||
| dict_list = [obj._to_request_dict() for obj in object_list] | ||
| else: | ||
| dict_list = object_list | ||
| return dict_list |
There was a problem hiding this comment.
style: the following would cover [] and None cases concisely:
| ifobject_listisnotNone: | |
| dict_list= [obj._to_request_dict() forobjinobject_list] | |
| else: | |
| dict_list=object_list | |
| returndict_list | |
| ifobject_list: | |
| return [obj._to_request_dict() forobjinobject_list] | |
| returnobject_list |
sagemaker-bot
commented
Jul 21, 2020
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
sagemaker-bot
commented
Jul 21, 2020
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
sagemaker-bot
commented
Jul 21, 2020
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
sagemaker-bot
commented
Jul 21, 2020
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
sagemaker-bot
commented
Jul 21, 2020
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Issue #, if available:
Description of changes:
Fixes nullable values in processing_config for MaxRuntimeInSeconds and ProcessingInputs/Outputs.
Testing done:
Merge Checklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
unique_name_from_baseto create resource names in integ tests (if appropriate)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.