I've been using classify to generate docs, and would like to include docs for plain functions. I'm currently basically re-implementing Method.from_func for this (unwrapping, getting signature, source lines and docstring). Adding something like classify_function should be fairly straightforward without code duplication. I realise that with a name like "classify", this is maybe out of scope, but as it costs ~nothing, I thought I'd ask
I've been using
classifyto generate docs, and would like to include docs for plain functions. I'm currently basically re-implementingMethod.from_funcfor this (unwrapping, getting signature, source lines and docstring). Adding something likeclassify_functionshould be fairly straightforward without code duplication. I realise that with a name like "classify", this is maybe out of scope, but as it costs ~nothing, I thought I'd ask