steambird/models/coursetree.py
def all_teachers(self) -> List[Teacher]:
        """
        Method which returns both the coordinator and teachers of a study in a list. Filled in with
        the information according to osiris

        :return: List of all teachers helping out with a course.
        """
        return [
            self.coordinator,
            *self.teachers,
            *[
                teacher
                for course in self.parent_courses
                for teacher in course.all_teachers
            ],
            *[
                study.director
                for study in self.studies.all()
            ]
        ]

        Method which returns both the coordinator and teachers of a study in a list. Filled in with
        the information according to osiris

        :return: List of all teachers helping out with a course.
        
Method which returns both the coordinator and teachers of a study in a list. Filled in with
the information according to osiris
Method which returns both the coordinator and teachers of a study in a list . Filled in with the information according to osiris
def all_teachers(self) -> List[Teacher]:
        return [
            self.coordinator,
            *self.teachers,
            *[
                teacher
                for course in self.parent_courses
                for teacher in course.all_teachers
            ],
            *[
                study.director
                for study in self.studies.all()
            ]
        ]
def all_teachers ( self ) -> List [ Teacher ] : return [ self . coordinator , * self . teachers , * [ teacher for course in self . parent_courses for teacher in course . all_teachers ] , * [ study . director for study in self . studies . all ( ) ] ]
Method which returns both the coordinator and teachers of a study in a list.
Method which returns both the coordinator and teachers of a study in a list .
"""
        Method which returns both the coordinator and teachers of a study in a list. Filled in with
        the information according to osiris

        :return: List of all teachers helping out with a course.
        """
List of all teachers helping out with a course.
List of all teachers helping out with a course .
self