Garters and diamond pythons do better when provided with UVB -- and I think some people (at least in this garter FB group I'm in) add calcium supplements to their garter food. That might only be if/when they're feeding worms, though. Garters are weird lol. Most snakes seem to bask more when provided UVB, but that's mostly anecdotal. Corn snakes have scientifically shown a rise in D3 levels with given access to UVB. So, I wouldn't say they don't 'require' sunlight... just that it's possible for them to survive without it, if that makes any sense.