def get_not_working_crew(self, datetime_object): '''Returns a list of instances of the crew that is not working on a specific day.''' return CrewLL().getNotWorkingCrew(datetime_object)
def get_work_schedule(self, start_date, end_date, crew_id): '''Returns a list of instances of the voyages that a specific crew member is working in for an inputted date.''' return CrewLL().getWorkSchedule(start_date, end_date, crew_id)
def get_flight_att(self): '''Returns a list of instances of all flight attendants.''' return CrewLL().getFlightAtt()
def get_working_crew(self, datetime_object): '''Returns a formatted string of crew that are working at an inputted time''' return CrewLL().getWorkingCrew(datetime_object)
def get_crew(self): ''' Fetches all crew members and returns a list of instances.''' return CrewLL().getCrew()
def get_pilots(self): ''' Fetches all pilots and returns a list of instances.''' return CrewLL().getPilots()
def getQualifiedCrew(self, depart_time, plane_insignia): '''Returns a list of instances of crew that can fly a specific plane at a specific time''' return CrewLL().getQualifiedCrew(depart_time, plane_insignia)
def doesIDExist(self, crew_id): '''Checks if a crew member already has inputted ID''' return CrewLL().doesIDExist(crew_id)
def changeCrewInfo(self, employee): '''Adds changed info of an existing employee chosen by user to file.''' return CrewLL().ChangeCrewInfo(employee)
def addCrew(self, info_list): '''Takes a list of information for a specific crew member and adds them to file.''' return CrewLL().addCrew(info_list)
def sortPilotsByLicense(self): '''Returns a list of class instances of all pilots, sorted by their licenses.''' return CrewLL().sortPilotsByLicense()
def get_licensed_pilots(self, pilot_license): '''Returns a list of class instances of the pilots that have the inputted license.''' return CrewLL().getLicensedPilots(pilot_license)
def get_crew_member_by_id(self, crew_id): '''Returns the class instance for the crew member that has the inputted crew id.''' return CrewLL().getOneCrewMember(crew_id)