Looks OK to me, Matías suggested another way to achieve the None value using update(), your choice on which one to use.
I'd still prefer a more explicit check than "just run this and ensure it didn't exception out" but am OK if you think this is reasonable.
I'll +1 in case you want to merge as is, or if you want to apply the update() change.
« Back to merge proposal
Looks OK to me, Matías suggested another way to achieve the None value using update(), your choice on which one to use.
I'd still prefer a more explicit check than "just run this and ensure it didn't exception out" but am OK if you think this is reasonable.
I'll +1 in case you want to merge as is, or if you want to apply the update() change.