lebrice / SimpleParsing

Simple, Elegant, Typed Argument Parsing with argparse
MIT License
384 stars 46 forks source link

fix postponed annotation when field is overwritten #228

Closed mixilchenko closed 1 year ago

mixilchenko commented 1 year ago

Thanks to @zhiruiluo #183 covers the main problem described in #168. However, I want to cover one more case when subclass definition overwrites variable type with specific subtype.

mixilchenko commented 1 year ago

I tried to improve naming and added some docstrings to highlight the difference between these two tests