-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Organize and document more model fields
- Loading branch information
1 parent
a3d968f
commit b6fd7de
Showing
6 changed files
with
124 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ API reference | |
settings | ||
models | ||
enums | ||
parsers | ||
util | ||
exceptions | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Parsers | ||
======= | ||
|
||
.. automodule:: app.parsers | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -303,18 +303,27 @@ def application_payload(application_uuid, award, borrower): | |
"uuid": application_uuid, | ||
"primary_email": "[email protected]", | ||
"award_borrower_identifier": "test_hash_12345678", | ||
"contract_amount_submitted": None, | ||
# Request | ||
"amount_requested": 10000, | ||
"currency": "COP", | ||
"repayment_months": None, | ||
"calculator_data": {}, | ||
# Status | ||
"pending_documents": True, | ||
"pending_email_confirmation": True, | ||
"borrower_submitted_at": None, | ||
"borrower_accepted_at": None, | ||
# Timeline | ||
"borrower_declined_at": None, | ||
"borrower_declined_preferences_data": {}, | ||
"borrower_declined_data": {}, | ||
"borrower_accepted_at": None, | ||
"borrower_submitted_at": None, | ||
"lender_started_at": None, | ||
"lender_rejected_at": None, | ||
"lender_rejected_data": {}, | ||
"lender_approved_at": None, | ||
"lender_approved_data": {}, | ||
"borrower_uploaded_contract_at": None, | ||
"contract_amount_submitted": None, | ||
"secop_data_verification": { | ||
"legal_name": False, | ||
"address": True, | ||
|
@@ -324,12 +333,6 @@ def application_payload(application_uuid, award, borrower): | |
"sector": True, | ||
"email": True, | ||
}, | ||
"lender_approved_at": None, | ||
"lender_approved_data": {}, | ||
"lender_rejected_data": {}, | ||
"lender_rejected_at": None, | ||
"repayment_months": None, | ||
"borrower_uploaded_contract_at": None, | ||
"completed_in_days": None, | ||
"archived_at": None, | ||
# Relationships | ||
|