Map Input Question

Hi!
It’s me again…
Do you know how can I specify the Map Input (Cube, Flat, Tube or Sphere) via script (Python), for a certain Material ?
Thanks!!!