activity_session_participant_dao
Activity session participant data access object (DAO)
Classes
ActivitySessionParticipantDao
Bases: BaseDao
Activity session participant data access object (DAO)
Attributes
Functions
get_by_session_participant
get_by_session_participant(
session_pkid: str, participant_pkid: str
) -> ActivitySessionParticipant | None
Retrieve an ActivitySessionParticipant object by session and participant IDs.
Parameters:
-
session_pkid
(str
) –The ID of the session.
-
participant_pkid
(str
) –The ID of the participant.
Returns:
-
ActivitySessionParticipant | None
–ActivitySessionParticipant | None: The ActivitySessionParticipant object if found,
-
ActivitySessionParticipant | None
–otherwise None.