kappa
kappa copied to clipboard
Following symlinks
I'm sharing some code between several lambda functions. Instead of creating a module and installing it in each _src directory I am finding it easier to symlink to the common code like so:
func1/_src/common -> ../../common
func2/_src/common -> ../../common
In order to make this work for the zipfile creation I need to change os.walk(lambda_dir) to os.walk(lambda_dir, followlinks=True) in function.py.
Would you be open to a PR to make this configurable or is there a better way to share code between lambda functions?
Sure go for it.