Event-CRUD-Flask-python3-API/services/EventNotifyerService.py

10 lines
315 B
Python
Raw Normal View History

2024-01-08 20:03:51 +00:00
# this Class is for the scheduler
#this class will have a function that locates the upcomming events Using the Event service.
from services.EventService import EventService
2024-01-09 08:23:57 +00:00
class EventNotifyerService:
2024-01-08 20:03:51 +00:00
def __init__(self):
pass
2024-01-09 08:25:38 +00:00
def notifyUpcommingEvents():
2024-01-08 20:03:51 +00:00
return EventService.get_all_upcomming_events()