citric.objects#

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

Classes#

Participant

Participant data.

Functions#

to_yes_no(*, value)

Convert boolean to yes/no string.

Module Contents#

citric.objects.to_yes_no(*, value)[source]#

Convert boolean to yes/no string.

class citric.objects.Participant[source]#

Participant data.

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

Convert to dictionary.

Returns:

Dictionary representation of participant.

Return type:

dict[str, Any]