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
Additionally, ``libmongocrypt`` must be installed from `source <https://github.com/mongodb/libmongocrypt/blob/master/bindings/python/README.rst#installing-from-source>`_.
357
+
358
+
Automatic encryption in Queryable Encryption is configured with an ``encrypted_fields`` mapping, as demonstrated by the following example::
359
+
360
+
import os
361
+
from bson.codec_options import CodecOptions
362
+
from pymongo import MongoClient
363
+
from pymongo.encryption import Algorithm, ClientEncryption, QueryType
364
+
from pymongo.encryption_options import AutoEncryptionOpts
0 commit comments