I think it's perfect...do it! If she gets real restless, she may have "had enough". I typically take my snakes out for sun for about 10-15 minutes.
Direct sun on a dark colored snake gets them hotter than air temp.- keep that in mind, same with black dogs & wearing dark clothing.
I usually alternate between sun & shade (coming thru trees), depending on the temperatures.