"""Promo Player Track logic.""" from promo_player.models import promo_player_track def create(data): """Create a new promo player track. Args: data (dict): the data from which to create the promo player track. Returns: response.Response: containing the created promo player track dict. """ return promo_player_track.create(data) def update(data): """Update a promo player track. Args: data (dict): the data with which to update the promo player track. Returns: response.Response: containing the updated promo player track dict. """ return promo_player_track.update(data) def delete(promo_player_id, track_id): """Delete a promo player track. Args: promo_player_id (int): the promo player ID track_id (int): the track ID Returns: response.Response: containing the deleted promo player track dict. """ return promo_player_track.delete(promo_player_id, track_id)