Skip to content

Conversation

@ZackHodari
Copy link

If func is a classmethod then it is not possible to use .. argparse:: without adding python code to the source (which should not be necessary).

The PR simply adds an option to specify the class (klass).

@laf0rge
Copy link

laf0rge commented Apr 4, 2021

I only see this now, after implementing #136.

I first had a similar approach than @ZackHodari but then I needed a method within a class of a class, and then the 'klass' attribute approach fails. So instead, I added support for hierarchical class.class.func kind of notation in #136.

Sad to see this PR has received no feedback in 21 months :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants