Skip to content

Commit 32a835a

Browse files
Fix kwargs in default builder not being unpacked correctly
1 parent 4722f3b commit 32a835a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

awsiot/mqtt_connection_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,11 @@ def new_default_builder(**kwargs) -> awscrt.mqtt.Connection:
512512
This builder creates an :class:`awscrt.mqtt.Connection`, without any configuration besides the default TLS context options.
513513
514514
This requires setting the connection details manually by passing all the necessary data
515-
in :mod:`common arguments<awsiot.mqtt_connection_builder>` to make a connection
515+
in :mod:`common arguments<awsiot.mqtt_connection_builder>` to make a connection.
516516
"""
517-
_check_required_kwargs(kwargs)
517+
_check_required_kwargs(**kwargs)
518518
tls_ctx_options = awscrt.io.TlsContextOptions()
519519

520520
return _builder(tls_ctx_options=tls_ctx_options,
521521
use_websockets=False,
522-
kwargs=kwargs)
522+
**kwargs)

0 commit comments

Comments
 (0)