Running pytest --doctest-modules -v doesn't find docstrings in functions decorated with @define_app (e.g. app.align.cogent3_score).
However, it works fine in @define_app classes where the docstrings are in the __init__ (e.g. app.align.progressive_align).
Specfically, composable._class_from_func does not seem to be correctly propagating docstrings.
Running
pytest --doctest-modules -vdoesn't find docstrings in functions decorated with@define_app(e.g.app.align.cogent3_score).However, it works fine in
@define_appclasses where the docstrings are in the__init__(e.g.app.align.progressive_align).Specfically,
composable._class_from_funcdoes not seem to be correctly propagating docstrings.