python-lambda icon indicating copy to clipboard operation
python-lambda copied to clipboard

Click commands should use correct keyword args for requirements

Open karthich opened this issue 7 years ago • 1 comments

The build command in scripts/lambda uses keyword arguments that are inconsistent with the build function in aws_lambda.py def build(use_requirements, local_package, config_file): aws_lambda.build( CURRENT_DIR, use_requirements=use_requirements, local_package=local_package, config_file=config_file, ) aws_lambda build function signature looks like this: def build( src, requirements=False, local_package=None, config_file='config.yaml'):

karthich avatar Dec 05 '17 19:12 karthich

Looks like build, deploy, deploy s3 all seem to be using use_requirements key word args. Maybe the aws_lambda function needs to be edited to accomodate these variable name changes?

karthich avatar Dec 05 '17 19:12 karthich