Ancient education philosophers, Socrates, Plato, Aristotle looked at the role of a teacher as being like that of a midwife, for one, or a potter, for the other. Does the teacher just aid learning or does the teacher mold learners?
Most likely both, separately or conjointly, depending on the nature of the knowledge or skill: drawing out what's already in the student (and maybe also shaping it) vs. shaping the student with something new and external.