old_contents: from flask import Blueprint
  from flask_restful import Api
  
  from resources.professors import ProfessorsResource, ProfessorResource
  from .courses import CoursesResource, CourseResource
  from .departments import DepartmentsResource
  from .evaluations import EvaluationsResource
  from .majors import MajorsResource
  from .quarters import QuartersResource
  from .search import SearchResource
  from .students import StudentsResource
  
  
  resources_bp = Blueprint('resources', __name__)
  api = Api(resources_bp)
  
  api.add_resource(CoursesResource, '/courses')
  api.add_resource(CourseResource, '/courses/<int:c_id>')
  
  api.add_resource(DepartmentsResource, '/departments')
  api.add_resource(EvaluationsResource, '/evaluations')
  api.add_resource(MajorsResource, '/majors')
  
  api.add_resource(ProfessorsResource, '/professors')
  api.add_resource(ProfessorResource, '/professors/<int:p_id>')
  
  api.add_resource(SearchResource, '/search')
  api.add_resource(StudentsResource, '/students/<int:s_id>')
  api.add_resource(QuartersResource, '/quarters')
  
new_contents: from flask import Blueprint
  from flask_restful import Api
  
  from .professors import ProfessorsResource, ProfessorResource
  from .courses import CoursesResource, CourseResource
  from .departments import DepartmentsResource
  from .evaluations import EvaluationsResource
  from .majors import MajorsResource
  from .quarters import QuartersResource
  from .search import SearchResource
  from .students import StudentsResource
  
  
  resources_bp = Blueprint('resources', __name__)
  api = Api(resources_bp)
  
  api.add_resource(CoursesResource, '/courses')
  api.add_resource(CourseResource, '/courses/<int:c_id>')
  
  api.add_resource(DepartmentsResource, '/departments')
  api.add_resource(EvaluationsResource, '/evaluations')
  api.add_resource(MajorsResource, '/majors')
  
  api.add_resource(ProfessorsResource, '/professors')
  api.add_resource(ProfessorResource, '/professors/<int:p_id>')
  
  api.add_resource(SearchResource, '/search')
  api.add_resource(StudentsResource, '/students/<int:s_id>')
  api.add_resource(QuartersResource, '/quarters')
  
subject: Fix professors resource import