cadnano.extras.wrapapi module

copyWrapAPI(cls_from, cls_to, attr_str='model')

Use same eval trick as decorator module on PyPi to match function signatures see also: https://emptysqua.re/blog/copying-a-python-functions-signature/

But this supports type annotations too now

maybe try to use functools.update_wrapper in the future

getPublicMethods(cls)