Closed grofonn closed 5 months ago
Thank you for making this issue! I have made a PR to fix the issue: https://github.com/aws/aws-iot-device-sdk-python-v2/pull/583
I will update the ticket once the fix is released.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
new_default_builder function in mqtt_client_builder.py (awsiot) doesn't pass kwargs argument as expected. It calles _builder function with kwargs as a single argument and not as a dictionary (**kwargs), which fails the creation of a mqtt client. This seems to be the exact same problem that was reported for mqtt_connection_builder in https://github.com/aws/aws-iot-device-sdk-python-v2/issues/340 and solved in https://github.com/aws/aws-iot-device-sdk-python-v2/pull/341
Expected Behavior
Pass kwargs as a dictionary (**kwargs)
Current Behavior
Pass kwargs as a single argument
Reproduction Steps
Possible Solution
Fix new_default_builder function' calls (pass **kwargs instead of kwargs=kwargs)
Additional Information/Context
No response
SDK version used
v2
Environment details (OS name and version, etc.)
Windows 10