janushendersonassetallocation / loman

Loman is a Python library designed to allow quantitative researchers to control complex live updating calculation processes
BSD 3-Clause "New" or "Revised" License
95 stars 13 forks source link

Allow self as first parameter in computation factory #30

Closed edparcell closed 3 months ago

edparcell commented 3 months ago

It will be passed a null object that throws exceptions if it is interacted with. Purpose is so that "methods" in ComputationFactory-style definitions appear more correctly in IDEs like Pycharm, which can't be told they are static methods.

edparcell commented 3 months ago

Implemented in 6f5c810271f42e131e7eeaec6467bf39bb65fa46 and 04179242

edparcell commented 3 months ago

Support for calling methods on self in 6c93dc1b165fa9f8fa3b31e350e8a0cdb0c4a421.