$ python
Python 3.7.16 (default, Mar 10 2023, 03:25:26)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
$ aws-encryption-cli --version
aws-encryption-sdk-cli/4.2.0 aws-encryption-sdk/3.1.1
General:
commitment_policy not set correctly in
stream_kwargs_from_args
.Problem:
These if statements does not take effect.
LHS of Line 251 has type
<enum 'CommitmentPolicyArgs'>
, while RHS is astr
. On my machine (python ver3.7), two types won't equal no matter what.Solution
The above-mentioned if statements should be deleted because
stream_args
will not accept"commitment_policy"
as a key word.My Platform