File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ def create_check(
8686 applicant_id = None ,
8787 document_ids = None ,
8888 report_names = None ,
89+ report_configuration = None
8990):
9091 if check_builder is None :
9192 return onfido_api .create_check (
@@ -94,6 +95,7 @@ def create_check(
9495 document_ids = document_ids ,
9596 report_names = report_names ,
9697 privacy_notices_read_consent_given = True ,
98+ report_configuration = report_configuration ,
9799 )
98100 )
99101
Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ def test_schema_of_facial_similarity_report_is_valid(
6969 applicant_id = applicant_id ,
7070 document_ids = [document_id ],
7171 report_names = [ReportName .FACIAL_SIMILARITY_PHOTO ],
72+ report_configuration = {
73+ 'facial_similarity_photo' : {
74+ 'use_case' : 'reverification'
75+ }
76+ },
7277 ).report_ids [0 ]
7378
7479 facial_similarity_report = repeat_request_until_status_changes (
You can’t perform that action at this time.
0 commit comments