steambird/models/coursetree.py
def associations(self) -> List[StudyAssociation]:
        """
        Method which returns all the associations related to a course. Basically retrieve who can
        edit the course from the backend

        :return: List of StudyAssociations
        """
        return [
            *[
                association
                for course in self.parent_courses
                for association in course.associations
            ],
            *map(lambda study: study.association, self.studies.all())
        ]

        Method which returns all the associations related to a course. Basically retrieve who can
        edit the course from the backend

        :return: List of StudyAssociations
        
Method which returns all the associations related to a course. Basically retrieve who can
edit the course from the backend
Method which returns all the associations related to a course . Basically retrieve who can edit the course from the backend
def associations(self) -> List[StudyAssociation]:
        return [
            *[
                association
                for course in self.parent_courses
                for association in course.associations
            ],
            *map(lambda study: study.association, self.studies.all())
        ]
def associations ( self ) -> List [ StudyAssociation ] : return [ * [ association for course in self . parent_courses for association in course . associations ] , * map ( lambda study : study . association , self . studies . all ( ) ) ]
Method which returns all the associations related to a course.
Method which returns all the associations related to a course .
"""
        Method which returns all the associations related to a course. Basically retrieve who can
        edit the course from the backend

        :return: List of StudyAssociations
        """
List of StudyAssociations
List of StudyAssociations
self