Skip to content

Commit

Permalink
fix: update method docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gcollazo committed Jun 6, 2023
1 parent 261f5f9 commit d0447db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions parsons/nation_builder/nation_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def get_people(self):

def update_person(self, person_id: str, person: Dict[str, Any]) -> dict[str, Any]:
"""
Updates a person with the provided data.
This method updates a person with the provided id to have the provided data. It returns a
full representation of the updated person.
`Args:`
person_id: str
Expand Down Expand Up @@ -151,9 +152,8 @@ def upsert_person(
Updates a matched person or creates a new one if the person doesn't exist.
This method attempts to match the input person resource to a person already in the
nation. If a match is found, the matched person is updated and a 200 status code is
returned. If a match is not found, a new person is created and a 201 status code is
returned. Matches are found by including one of the following IDs in the request:
nation. If a match is found, the matched person is updated. If a match is not found, a new
person is created. Matches are found by including one of the following IDs in the request:
- civicrm_id
- county_file_id
Expand Down

0 comments on commit d0447db

Please sign in to comment.