发布

  • 17373 ebaa355bf1

    Fix Python inheritance issue with SelectionModels (#9069)

    frostbyte_neo 发布于 2025-11-13 20:21:55 +00:00 | 300 次提交 在此版本后已推送到 master

    • Initial solution

    • Solve review comments

    • Add PythonSelectionModelHandler to reduce code duplication

    • Refactor universe selection models

    • Add python instance to Selection Models with virtual/override methods

    • Add python instance to Alpha Models

    • Add python instance to Execution models

    • Solve review comments

    • Solve new review comments

    • Fix calling SetPythonInstance only when method exists and is callable

    • Use unit test instead of regression algorithms

    • Solve review comments

    • Set python instance to the models

    • Initialize Python containers only when instance is set

    • Replace try-catch with explicit method existence check

    • Initialize containers in BasePythonWrapper only when needed

    • Add null instance check before method invocation

    • Refactor TryExecuteMethod

    • Refactor Python wrappers which inherit from BasePythonWrapper<>

    • Solve review comments

    • Remove ununsed methods

    • Solve review comments

    下载附件