Skip to content

Commit

Permalink
update QuestionConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMwendwa committed Oct 25, 2024
1 parent 63644b8 commit d99a12d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/google_form_to_engagement_db/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,17 @@ def __init__(self, question_id, id_type):


class QuestionConfiguration:
def __init__(self, question_titles, engagement_db_dataset, answers_delimeter="; "):
def __init__(self, question_ids, engagement_db_dataset, answers_delimeter="; "):
"""
:param question_titles: Question titles. This are the texts presented to the form user for these questions
e.g. ["Do you live in a town/city?", "which town/city?"]
:type question_titles: list of str
:param question_ids: Question ids.
:type question_ids: list of str
:param engagement_db_dataset: Name of the dataset to use in the engagement database.
:type engagement_db_dataset: str
:param answers_delimeter: a character for specifying the boundary between the answers given for multiple
`question_titles`
`question_ids`
:type answers_delimeter: str
"""
self.question_titles = question_titles
self.question_ids = question_ids
self.engagement_db_dataset = engagement_db_dataset
self.answers_delimeter = answers_delimeter

Expand Down

0 comments on commit d99a12d

Please sign in to comment.