Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand parameter overrides #7876

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix type hint union
  • Loading branch information
sigJoe committed Feb 18, 2025
commit 2152c8bc72d261243a2381f1739759d6e74d9dd6
2 changes: 1 addition & 1 deletion samcli/cli/types.py
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ def _unquote_wrapped_quotes(value):
return value.replace("\\ ", " ").replace('\\"', '"').replace("\\'", "'")


def _flatten_list(data: list | tuple) -> list:
def _flatten_list(data: Union[list, tuple]) -> list:
"""
Recursively flattens lists and other list-like types for easy sequential processing.
This also helps with lists combined with YAML anchors & aliases.