You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found there are many "%s-%s-%s" % (app_name, stage, func_name) in the code base. In my organization they force to use {stage}-{app_name}-{func_name}. Is it possible to create a package level CONSTANT variable in chalice/app.py like NAMING_CONVENTION = "{app_name}-{stage}-{func_name}" that allow user to monkey patch this using their own naming convention?
I found five occurrence of this code snippet, I think the refact is as easy as adding at most five variable and fix the import. If the community believe it is a good idea to allow user to change the naming convention, I can issue an PR. Thank you.
The text was updated successfully, but these errors were encountered:
I found there are many
"%s-%s-%s" % (app_name, stage, func_name)
in the code base. In my organization they force to use{stage}-{app_name}-{func_name}
. Is it possible to create a package level CONSTANT variable inchalice/app.py
likeNAMING_CONVENTION = "{app_name}-{stage}-{func_name}"
that allow user to monkey patch this using their own naming convention?I found five occurrence of this code snippet, I think the refact is as easy as adding at most five variable and fix the import. If the community believe it is a good idea to allow user to change the naming convention, I can issue an PR. Thank you.
The text was updated successfully, but these errors were encountered: