I don’t think you can get such guarantees.
But you can check the doc 11. It will sample the number of elements you asked for with the given probabilities. So in theory anything can happen. But if you sample enough samples, you can be sure it will be enough. Note that num_samples does not have to be the size of sample_weights.