def __init__(self, args):
     """ When a new CurrentStudent() object is created, this runs """
     Student.__init__(self, args)
     self.major = args['major']
     self.gpa = args['gpa']
     self.advisor_name = args['advisor']['name']
     self.advisor_email = args['advisor']['email']
Esempio n. 2
0
    def __init__(self, args):
        """ When a new Prospective() object is created, this runs """
        # The base class needs to run the __init__ method to set variables of base 
        Student.__init__(self, args)

        # Assign Prospective specific variables
        self.school = args['school'] 
        self.load_date = args['load_date']
Esempio n. 3
0
    def __init__(self, args):
        """ When a new Alumni() object is created, this runs """
        # Set the base attributes
        Student.__init__(self, args)

        # TODO: refactor to handle >1 degrees
        # Extract the degree dictionary
        degree = args['degrees']
        # Set degree attributes
        self.program = degree['program']
        self.degree = degree['degree']
        self.conferred_date = degree['conferred_date']
        self.alumni_email = args['alumni_email']
 def __init__(self, name="", department="", company=""):
     Student.__init__(self, name, department)
     self.company = company
Esempio n. 5
0
 def __init__(self, first_name, last_name, sid, gpa, meal_plan_balance):
     Student.__init__(self, first_name, last_name, sid, gpa)
     self.__meal_plan_balance = meal_plan_balance
 def __init__(self):
     Student.__init__(self, first_name, last_name)
     Instructor.__init__(self, first_name, last_name)
     self.name = ""
     self.language = ""
 def __init__(self, name="", department="", stu_ID=""):
     Student.__init__(self, name, department)
     self.stu_ID = stu_ID
Esempio n. 8
0
 def __init__(self, name):
     Student.__init__(self, name)
Esempio n. 9
0
 def __init__(self, name, sex, province):
     Student.__init__(self, name, sex, province)
Esempio n. 10
0
 def __init__(self, age, name, language, company):
     Student.__init__(self, age, name, language)
     self.company = company