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
feat(data_classes): return empty dict or list instead of None (#4606)
* feat(data_classes): return empty dict or list instead of None
This simplifies the code internally and also for users.
Also wrap all headers in CaseInsensitiveDict from requests.
These changes replace the need of utility functions like
get_header_value, get_query_string_value or
get_multi_value_query_string_values, which are removed.
* Add custom CaseInsensitiveDict
This is hopefully a simpler implementations that the requests' package
one, but still had to be minimally complex to be complete.
* Update CHANGELOG.md
* Revert changes in prev_result
* Revert changes to examples using "cloudfront-viewer-country"
* Update tests/unit/data_classes/test_appsync_resolver_event.py
* Minor simplification in CaseInsensitiveDict
---------
Co-authored-by: Leandro Damascena <[email protected]>
0 commit comments