Skip to content

Commit a203f5c

Browse files
committed
remove incorrect tuple wrapping
fixes error: ``` ValueError: kms_providers must be a dict ```
1 parent ebf8766 commit a203f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/examples/encryption.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ An application using Azure credentials would look like, this time using
614614
from pymongo.encryption_options import AutoEncryptionOpts
615615
616616
# The empty dictionary enables on-demand credentials.
617-
kms_providers = ({"azure": {}},)
617+
kms_providers = {"azure": {}}
618618
key_vault_namespace = "keyvault.datakeys"
619619
auto_encryption_opts = AutoEncryptionOpts(kms_providers, key_vault_namespace)
620620
client = MongoClient(auto_encryption_opts=auto_encryption_opts)

0 commit comments

Comments
 (0)