Does pineapple really induce labor?

I’m 30 weeks and have been craving nothing but fruit especially pineapple. I’m talking like eating an entire pineapple. While it induce labor? I’m worried to eat more than a piece.