citric.objects#

Python classes associated with LimeSurvey objects (surveys, questions, etc.).

Module Contents#

Classes#

Participant

Participant data.

Functions#

to_yes_no(*, value)

Convert boolean to yes/no string.

citric.objects.to_yes_no(*, value)#

Convert boolean to yes/no string.

class citric.objects.Participant#

Participant data.

firstname: str#
lastname: str#
email: str#
participant_id: UUID | None#
language: str | None = 'en'#
blacklisted: bool = False#
attributes: dict[str, Any]#
to_dict()#

Convert to dictionary.

Returns:

Dictionary representation of participant.

Return type:

dict