Adds PythonSlice static constructor
With this constructor, SetConverter method, that was not respecting Lean pattern, is removed. The initialization of _converter field is done once the type is loaded.
This commit is contained in:
@@ -63,9 +63,6 @@ namespace QuantConnect.AlgorithmFactory.Python.Wrappers
|
||||
|
||||
var baseClass = module.GetAttr("QCAlgorithm");
|
||||
|
||||
// Set PythonSlice converter
|
||||
PythonSlice.SetConverter();
|
||||
|
||||
var moduleName = module.Repr().Split('\'')[1];
|
||||
|
||||
foreach (var name in module.Dir())
|
||||
|
||||
Reference in New Issue
Block a user