Module twitchpy.dataclasses.stream_schedule

Classes

class StreamSchedule (segments: list[StreamScheduleSegment],
channel: Channel,
vacation: tuple[datetime.datetime, datetime.datetime])
Expand source code
@dataclass
class StreamSchedule:
    """
    Represents a stream schedule

    Attributes:
        segments (list[StreamScheduleSegment]): Scheduled broadcasts for this stream schedule
        channel (Channel): The channel that owns the broadcast schedule
        vacation (tuple[datetime, datetime]): If Vacation Mode is enabled, this includes start and end dates for the vacation
            If Vacation Mode is disabled, value is set to null
    """

    segments: list[StreamScheduleSegment]
    channel: Channel
    vacation: tuple[datetime, datetime]

Represents a stream schedule

Attributes

segments : list[StreamScheduleSegment]
Scheduled broadcasts for this stream schedule
channel : Channel
The channel that owns the broadcast schedule
vacation : tuple[datetime, datetime]
If Vacation Mode is enabled, this includes start and end dates for the vacation If Vacation Mode is disabled, value is set to null

Class variables

var channelChannel

The type of the None singleton.

var segments : list[StreamScheduleSegment]

The type of the None singleton.

var vacation : tuple[datetime.datetime, datetime.datetime]

The type of the None singleton.