Skip to content
Snippets Groups Projects
Verified Commit 48fd5ab4 authored by Chris Pastl's avatar Chris Pastl Committed by Ole Binder
Browse files

refactor: adapt internal Timeslot model

parent 20959e73
No related branches found
No related tags found
1 merge request!46Steering playout schema and virtual timeslot integration
...@@ -324,7 +324,7 @@ class Timeslot: ...@@ -324,7 +324,7 @@ class Timeslot:
""" """
id: int id: str
repetition_id = int repetition_id = int
start: int start: int
end: int end: int
...@@ -334,7 +334,7 @@ class Timeslot: ...@@ -334,7 +334,7 @@ class Timeslot:
playlists: Playlists playlists: Playlists
def __init__( def __init__(
self, id: int, repetition_id: int, start: float, end: float, show: Show, episode: Episode self, id: str, repetition_id: int, start: float, end: float, show: Show, episode: Episode
): ):
""" """
Initialize. Initialize.
...@@ -355,7 +355,7 @@ class Timeslot: ...@@ -355,7 +355,7 @@ class Timeslot:
self.episode = episode self.episode = episode
self.playlists = Playlists(None, None, None) self.playlists = Playlists(None, None, None)
def get_id(self) -> int: def get_id(self) -> str:
""" """
Get ID. Get ID.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment