Skip to content

Commit 3d04f4c

Browse files
DOCSP-28660 Remove duplicate line in Python CSFLE tutorials (#2729)
* removed duplicate line in csfle sample apps * moved comment tag
1 parent 258506f commit 3d04f4c

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

source/includes/generated/in-use-encryption/csfle/python/aws/reader/insert_encrypted_document.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@
6161
},
6262
}
6363

64-
patient_schema = {"medicalRecords.patients": json_schema}
65-
6664
patient_schema = {"medicalRecords.patients": json_schema}
6765
# end-schema
6866

@@ -78,6 +76,7 @@
7876
secureClient = MongoClient(connection_string, auto_encryption_opts=fle_opts)
7977
# end-client
8078

79+
8180
# start-insert
8281
def insert_patient(
8382
collection, name, ssn, blood_type, medical_records, policy_number, provider

source/includes/generated/in-use-encryption/csfle/python/azure/reader/insert_encrypted_document.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
},
6363
}
6464

65-
patient_schema = {"medicalRecords.patients": json_schema}
66-
6765
patient_schema = {"medicalRecords.patients": json_schema}
6866
# end-schema
6967

@@ -79,6 +77,7 @@
7977
secureClient = MongoClient(connection_string, auto_encryption_opts=fle_opts)
8078
# end-client
8179

80+
8281
# start-insert
8382
def insert_patient(
8483
collection, name, ssn, blood_type, medical_records, policy_number, provider

source/includes/generated/in-use-encryption/csfle/python/gcp/reader/insert_encrypted_document.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
},
5959
}
6060

61-
patient_schema = {"medicalRecords.patients": json_schema}
62-
6361
patient_schema = {"medicalRecords.patients": json_schema}
6462
# end-schema
6563

@@ -75,6 +73,7 @@
7573
secureClient = MongoClient(connection_string, auto_encryption_opts=fle_opts)
7674
# end-client
7775

76+
7877
# start-insert
7978
def insert_patient(
8079
collection, name, ssn, blood_type, medical_records, policy_number, provider

source/includes/generated/in-use-encryption/csfle/python/kmip/reader/insert_encrypted_document.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
},
5959
}
6060

61-
patient_schema = {"medicalRecords.patients": json_schema}
62-
6361
patient_schema = {"medicalRecords.patients": json_schema}
6462
# end-schema
6563

@@ -87,6 +85,7 @@
8785
secureClient = MongoClient(connection_string, auto_encryption_opts=fle_opts)
8886
# end-client
8987

88+
9089
# start-insert
9190
def insert_patient(
9291
collection, name, ssn, blood_type, medical_records, policy_number, provider

source/includes/generated/in-use-encryption/csfle/python/local/reader/insert_encrypted_document.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
},
6363
}
6464

65-
patient_schema = {"medicalRecords.patients": json_schema}
66-
6765
patient_schema = {"medicalRecords.patients": json_schema}
6866
# end-schema
6967

@@ -79,6 +77,7 @@
7977
secureClient = MongoClient(connection_string, auto_encryption_opts=fle_opts)
8078
# end-client
8179

80+
8281
# start-insert
8382
def insert_patient(
8483
collection, name, ssn, blood_type, medical_records, policy_number, provider

0 commit comments

Comments
 (0)