Skip to content

Commit

Permalink
chore: add kwargs parameter to client methods
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed Jul 29, 2024
1 parent d9114ea commit 55a505f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions eox_nelp/api_clients/pearson_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _get_exam_data(self, exam_id):
"external_key": exam_id,
}

def import_candidate_demographics(self, user):
def import_candidate_demographics(self, user, **kwargs): # pylint: disable=unused-argument
"""
Import candidate demographics into Pearson Engine.
Expand All @@ -101,7 +101,13 @@ def import_candidate_demographics(self, user):

return self.make_post(path, candidate)

def import_exam_authorization(self, user, exam_id, transaction_type="Add"):
def import_exam_authorization(
self,
user,
exam_id,
transaction_type="Add",
**kwargs
): # pylint: disable=unused-argument
"""
Import exam authorization data into Pearson Engine.
Expand All @@ -121,7 +127,7 @@ def import_exam_authorization(self, user, exam_id, transaction_type="Add"):

return self.make_post(path, exam_data)

def real_time_import(self, user, exam_id):
def real_time_import(self, user, exam_id, **kwargs): # pylint: disable=unused-argument
"""
Perform a real-time import of exam authorization data.
Expand Down

0 comments on commit 55a505f

Please sign in to comment.