BTW, I only mentioned about the danger of a snake in a container in the sun because sadly, people have actually done that (in a small aquarium) & their snake died.
So not because I thought that you'd do that, but just for anyone who might be reading this & get the wrong impression of what to do, I figured I'd better clarify.
Where I live there's lots of ticks & nasty parasites (intestinal worms etc), so personally I never put my snakes on the grass. Some others do, but that's their decision.