If you feed your snake appropriately sized meals weekly, then your snake should never "go after" any other animal.

A Pomeranian is far to big to be eaten by a ball python. Adult ball pythons can take a small-medium sized rat just fine and should never need anything bigger.

Just don't let your snakes canoodle with your dog and there will be no issue.