Pope Leo does not espouse the mechanical view, even though he uses the verb "dictated":
... we must remember, first, that the sacred writers, or to speak more accurately, the Holy Ghost "Who spoke by them, did not intend to teach men these things (that is to say, the essential nature of the things of the visible universe), things in no way profitable unto salvation."(53) Hence they did not seek to penetrate the secrets of nature, but rather described and dealt with things in more or less figurative language, or in terms which were commonly used at the time, and which in many instances are in daily use at this day, even by the most eminent men of science. Ordinary speech primarily and properly describes what comes under the senses; and somewhat in the same way the sacred writers-as the Angelic Doctor also reminds us - `went by what sensibly appeared,"(54) or put down what God, speaking to men, signified, in the way men could understand and were accustomed to.
19. The unshrinking defence of the Holy Scripture, however, does not require that we should equally uphold all the opinions which each of the Fathers or the more recent interpreters have put forth in explaining it; for it may be that, in commenting on passages where physical matters occur, they have sometimes expressed the ideas of their own times, and thus made statements which in these days have been abandoned as incorrect. Hence, in their interpretations, we must carefully note what they lay down as belonging to faith, or as intimately connected with faith-what they are unanimous in. For "in those things which do not come under the obligation of faith, the Saints were at liberty to hold divergent opinions, just as we ourselves are,"(55) according to the saying of St. Thomas
What we have here is healthy, critical, balanced view on the nature of divine inspiration.
Whatever Alex. You see it as healthy and balanced and I see it as a presumptious figments of his imagination. Lots of words, and not a shred of evidence of any substance.