Tunny.Core/Settings/Sampler.cs
Method ToPython
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public dynamic ToPython(SamplerType type, string storagePath, bool hasConstraints, Dictionary<string, double> firstVariables)
{
TLog.MethodStart();
dynamic optunaSampler;
dynamic optuna = Py.Import("optuna");