Message330133
I was just hit by the very same issue and added the following test into `_get_action_name` to work around it:
elif isinstance(argument, _SubParsersAction):
return '{%s}' % ','.join(map(str, argument.choices))
I checked #9253 as referenced by paul j3 and like the `argument.name()` approach as well as it's less specific.
Any chance this can be addressed one way or another? |
|
Date |
User |
Action |
Args |
2018-11-20 15:37:01 | Mathias Ettinger | set | recipients:
+ Mathias Ettinger, eric.araujo, zachrahan, paul.j3, hroncok |
2018-11-20 15:37:01 | Mathias Ettinger | set | messageid: <1542728221.37.0.788709270274.issue29298@psf.upfronthosting.co.za> |
2018-11-20 15:37:01 | Mathias Ettinger | link | issue29298 messages |
2018-11-20 15:37:01 | Mathias Ettinger | create | |
|