When playing Bass, sometimes my left wrist starts to feel a little crampy- especially when practicing modal scales and chord arpeggios at slightly faster tempos. My right wrist also sometimes starts feeling crampy after a while when practicing 16th notes at slightly faster tempos.
I try to keep good posture with my back and shoulders, hold the bass at a comfortable angle, and use my left arm to do as much of the work as possible when pressing down strings to the fretboard, but after prolonged practice, the cramping feelings start to come.
I've been told by my teacher that it's important to stop or slow down practice if I start feeling signs of pain because "ignoring" the pain and practicing on at that point can lead to injury in the long term, so I also make sure to stop at those points. I do also trust that in the long term, my muscles will grow stronger and I'll be able to play for longer. But I also think stretches could help a little in the short term.
My teacher mentioned that he does wrist stretches to help prevent cramping (I guess it's similar to how athletes to stretches before physical activity).
What kinds of stretches are helpful to prevent wrist cramping when playing Bass?
Please try to describe the stretches as best you can in words. If you can supplement the descriptions with diagrams or videos, that would also be quite helpful.
I did see this existing question, but the question is about causes of cramping and not about wrist stretches.
Since my teacher told me about some of the stretches he does, I'll share those in a self-answer, but I'm really curious to know if there are other stretches my teacher doesn't know about or didn't tell me about (it was quite a while ago and I'm no longer in close contact with them).