Fabrice Normandin
Fabrice Normandin
Hey there @aoikaneko , thanks for posting! Interesting proposition. The function used for each field in `load` is currently determined by the kind of type annotation that is used on...
Hello there @yuvval ! Is this specific to dataclasses? Or to Simple-parsing? Dataclasses generate a str that is then evaled, so thats probably the issue here.
FYI: The issue is happening when simple-parsing tries to fetch the docstring of a given field on a dataclass, in order to create the value that gets passed to `parser.add_argument(f"--{field.name}",...
Hi @yuvval , sorry for not getting back to you sooner! hmm, that's interesting. You can already achieve what you want without the need for a new feature: For instance,...
Sure thing, this makes sense. I'll take a look.
No news atm, I've been busy with other stuff. I'll push that onto my stack of TODOs, hopefully I'll have something to show for it in a week or two!
Ok I've added some better support for this in #158. Let me know what you think! :)
Hey @rggjan , thanks for posting! Indeed, this was mentioned in #62 , and I've been working on a fix in #99 . I need to fix the failing tests...
Thanks for posting this! Indeed, I agree, and I have also been thinking about this. I'll get back to you in the next few days. Thanks again!
Hi @jhagege , Yes this was partially fixed by #34, in that optional parameter groups should work, as long as you aren't nesting them more than one level down the...