This scenario plays out seemingly all the time on the pickleball courts. Luckily it is explicitly addressed in the pickleball rulebook where it states that calling the ball out before it bounces is considered partner communication. Therefore, the ball can still be played if it lands in.
Yelling “out” after the ball bounces, on the other hand, is considered a line call that ends the rally. In this case, the “out” call was made before it bounced. Therefore, the rally continues. Put that in your pipe and smoke it.