steambird/models/coursetree.py
def children(self) -> List['Period']:
        """
        Method which returns the children of a Period

        :return: List of Periods, List can be empty
        """

        if self == Period.S1:
            return [Period.Q1, Period.Q2]
        if self == Period.S2:
            return [Period.Q3, Period.Q4]
        if self == Period.S3:
            return [Period.Q5]
        if self == Period.YEAR:
            return [Period.S1, Period.S2]
        if self == Period.FULL_YEAR:
            return [Period.YEAR, Period.S3]
        return []

        Method which returns the children of a Period

        :return: List of Periods, List can be empty
        
Method which returns the children of a Period
Method which returns the children of a Period
def children(self) -> List['Period']:
        if self == Period.S1:
            return [Period.Q1, Period.Q2]
        if self == Period.S2:
            return [Period.Q3, Period.Q4]
        if self == Period.S3:
            return [Period.Q5]
        if self == Period.YEAR:
            return [Period.S1, Period.S2]
        if self == Period.FULL_YEAR:
            return [Period.YEAR, Period.S3]
        return []
def children ( self ) -> List [ 'Period' ] : if self == Period . S1 : return [ Period . Q1 , Period . Q2 ] if self == Period . S2 : return [ Period . Q3 , Period . Q4 ] if self == Period . S3 : return [ Period . Q5 ] if self == Period . YEAR : return [ Period . S1 , Period . S2 ] if self == Period . FULL_YEAR : return [ Period . YEAR , Period . S3 ] return [ ]
Method which returns the children of a Period
Method which returns the children of a Period
"""
        Method which returns the children of a Period

        :return: List of Periods, List can be empty
        """
List of Periods, List can be empty
List of Periods List can be empty
self