Skip to content

Commit

Permalink
Add skipMatching to apply_response() (#1134)
Browse files Browse the repository at this point in the history
* Add skipMatching

* adding comma
  • Loading branch information
retacg authored Sep 10, 2024
1 parent 9a61b7c commit 948b08b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parsons/ngpvan/people.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ def apply_response(
omit_contact=False,
phone=None,
campaignId=None,
skip_matching=False,
):
"""
Apply responses such as survey questions, activist codes, and volunteer actions
Expand Down Expand Up @@ -624,6 +625,8 @@ def apply_response(
`Optional`; Phone number of any type (Work, Cell, Home)
campaignId: int
`Optional`; a valid Campaign ID.
skip_matching: boolean
`Optional`; if set to true, skips matching/de-duping of contact history. Defaults to a null value, aka false.
`Returns:`
``True`` if successful
Expand Down Expand Up @@ -652,6 +655,7 @@ def apply_response(
"dateCanvassed": date_canvassed,
"omitActivistCodeContactHistory": omit_contact,
"campaignId": campaignId,
"skipMatching": skip_matching,
},
"resultCodeId": result_code_id,
}
Expand Down

0 comments on commit 948b08b

Please sign in to comment.