Closed Conchylicultor closed 1 year ago
Great suggestion @Conchylicultor ! I'll take a look at existing parsing tools for this, would be nicer than having to write it myself.
Does this problem also arise if you use docstrings under the fields?
@lebrice as an FYI I've had a really good experience with docstring_parser! Could possibly also be used in #156?
Sure @brentyi , I'll check it out.
However, do you get the same problem when using docstrings under the fields?
Hm, my understanding with the triple-quoted attribute docstrings is:
Args()
docstring, but would if you hovered over user
in Args(user="something")
or args.user
.I generally prefer this style over the monolithic Attributes:
list.
Should be fixed by #179 . Let me know if you have other issues :)
Currently,
simple_parsing
force to add comments along the attributes they are definedIt would be nice if it was also supporting the google docstring style
Attributes
field: https://google.github.io/styleguide/pyguide.html#384-classesRational: The
simple_parsing
conventions are not supported by standard tools like:Currently simple parsing force to document each fields twice (as
# comment
and inside thecls.__doc__
).