ripe-helmet-63854
10/18/2023, 12:01 AMresources
and files
targets but when looking into the generated zip file the images aren't there. Am i doing something wrong?
python_sources()
resources(name='resources', sources=['back_cover.jpg'])
python_awslambda(
name="x-areas",
output_path='api/x-areas.zip',
handler="handler.py:*",
complete_platforms=["api/lambda_config:aws_lambda_python_3_10"],
dependencies=['!!//:pipenv#numpy', '!!//:pipenv#pandas'],
)
happy-kitchen-89482
10/18/2023, 12:11 AMpython_sources()
on to the resources targethappy-kitchen-89482
10/18/2023, 12:11 AMdependencies=[":resources"]
happy-kitchen-89482
10/18/2023, 12:12 AMimport
statement to infer it fromhappy-kitchen-89482
10/18/2023, 12:12 AMpython_sources()
owns whatever code loads the jpeg at runtime?ripe-helmet-63854
10/18/2023, 12:12 AMripe-helmet-63854
10/18/2023, 12:13 AMripe-helmet-63854
10/18/2023, 12:15 AMhappy-kitchen-89482
10/18/2023, 12:16 AMripe-helmet-63854
10/18/2023, 12:16 AMhappy-kitchen-89482
10/18/2023, 12:19 AM