Skip to content

Commit 1f48903

Browse files
authored
Update samples.md to remove KBA
1 parent 72ae3c0 commit 1f48903

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

samples.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -251,28 +251,6 @@ virtual_document = base_document.add_virtual_document(type='SSN', value='3333')
251251
base_document = virtual_document.base_document
252252
```
253253

254-
##### Answer KBA Questions for Virtual Document
255-
If a Virtual Document is returned with status **SUBMITTED|MFA_PENDING**, you will need to have the user answer some questions:
256-
257-
```python
258-
# check for any virtual docs with SUBMITTED|MFA_PENDING status
259-
pending_doc = [doc for doc in base_document.virtual_documents
260-
if doc.status == 'SUBMITTED|MFA_PENDING'][0]
261-
262-
for question in pending_doc.question_set:
263-
print(question.question)
264-
# => "Which one of the following zip codes is associated with you?"
265-
print(question.answers)
266-
# => {1=>"49230", 2=>"49209", 3=>"49268", 4=>"49532", 5=>"None Of The Above"}
267-
question.choice = 1 # this should be based on user input
268-
269-
# submit after finished answering all questions in question_set
270-
pending_doc = pending_doc.submit_kba()
271-
272-
# assign the variable to the updated base doc if needed
273-
base_document = pending_doc.base_document
274-
```
275-
276254

277255
## Node Methods
278256

0 commit comments

Comments
 (0)