continueClass

lsst.utils.continueClass(cls)[source]

Re-open the decorated class, adding any new definitions into the original.

For example:

class Foo:
    pass

@continueClass
class Foo:
    def run(self):
        return None

is equivalent to:

class Foo:
    def run(self):
        return None