developmentseed / awspds-mosaic

Serverless stack powering https://landsatlive.live
BSD 2-Clause "Simplified" License
10 stars 4 forks source link

Remove lambda-proxy-cache dependency #9

Open kylebarron opened 4 years ago

kylebarron commented 4 years ago

Currently you depend on lambda-proxy-cache, but the only method you use is get_hash https://github.com/developmentseed/awspds-mosaic/blob/32e53403ad76732b8af25a8f9ade7691b8e13dea/awspds_mosaic/landsat/handlers/mosaic.py#L17

Since that's a very simple sha224 hash, you probably don't need the dependency, and then it might make it easier to update to lambda-proxy 5.2