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
One of the more useful tools in glob is being able to use the ** operator to match patterns at any point in the tree; however, that requires the recursive flag to be turned on in the glob.glob function: https://docs.python.org/3.9/library/glob.html#glob.glob
Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.
Context
One of the more useful tools in
glob
is being able to use the**
operator to match patterns at any point in the tree; however, that requires therecursive
flag to be turned on in theglob.glob
function: https://docs.python.org/3.9/library/glob.html#glob.globIt appears that that has not been used:
Zappa/zappa/core.py
Line 638 in f2f03ba
and
Zappa/zappa/core.py
Line 770 in f2f03ba
However, the
**
operator is used in the example in the docs:https://github.com/zappa/Zappa/blame/f2f03ba8b58c9e2bdbbff7b5e8c905e3a8c08021/README.md#L951
Expected Behavior
An
exclude_glob
entry with a**
, e.g."**/__pycache__"
should recurse through the directory tree to identify and eliminate matching pathsActual Behavior
**
operators are ignored byglob
Possible Fix
Add the
recursive=True
argument to each of the places whereexclude_glob
paths are usedSteps to Reproduce
exclude_glob
zappa package
The text was updated successfully, but these errors were encountered: