Category "optuna"

Optuna catboost pruning

is there a way to have pruning with CatBoost and Optuna (in LightGBM it's easy but in Catboost I can't find any hint). My code is like this def objective(trial)

How to sample parameters without duplicates in optuna?

I am using optuna for parameter optimisation of my custom models. Is there any way to sample parameters until current params set was not tested before? I mean