◐ Shell
clean mode source ↗

Allow @constant to apply constants to other modules

I am finding myself duplicating the constant function to our other python components. This is WET.

It would be cool if, in imglyb, we could write

@scyjava.constant
def some_constant():
  return "the constant"

And then access it with imglyb.some_constant.