Woman who stabbed partner given community order