Skip to content

Allow @constant to apply constants to other modules #40

Description

@gselzer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions