Added and removed some parameters in CalendarInterface

This commit is contained in:
Maximilian Giller 2019-02-26 17:30:53 +01:00
parent 615e338e9a
commit 7f9a6a3102

View file

@ -2,17 +2,17 @@ from DataSourceInterface import DataSourceInterface
class CalendarInterface (DataSourceInterface): class CalendarInterface (DataSourceInterface):
"""Interface for fetching and processing calendar event information.""" """Interface for fetching and processing calendar event information."""
def get_upcoming_events(self, count): def get_upcoming_events(self):
raise NotImplementedError("Functions needs to be implemented") raise NotImplementedError("Functions needs to be implemented")
def get_today_events(self): def get_today_events(self):
raise NotImplementedError("Functions needs to be implemented") raise NotImplementedError("Functions needs to be implemented")
def get_day_events(self): def get_day_events(self, date):
raise NotImplementedError("Functions needs to be implemented") raise NotImplementedError("Functions needs to be implemented")
def get_month_events(self, count): def get_month_events(self, month):
raise NotImplementedError("Functions needs to be implemented") raise NotImplementedError("Functions needs to be implemented")
def get_week_events(self, count): def get_week_events(self, week):
raise NotImplementedError("Functions needs to be implemented") raise NotImplementedError("Functions needs to be implemented")