You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Completing parameter values from a list of strings #1355
I fixed #771 and while this would be possible now, I'm very much against adding more complexity to the docstring parsers. It's just not really worth it for the little gain. There's a lot of issues with some of the numpy APIs IMO, so they should probably just use stubs.
Activity
davidhalter commentedon Jun 30, 2019
I would be kind of fine with this once #771 was in place. Before this it won't really work, because the infrastructure is not in place.
timhoffm commentedon Jun 30, 2019
Thanks for the feedback!
davidhalter commentedon Dec 31, 2019
I fixed #771 and while this would be possible now, I'm very much against adding more complexity to the docstring parsers. It's just not really worth it for the little gain. There's a lot of issues with some of the numpy APIs IMO, so they should probably just use stubs.
I'm happy to reconsider this, if there are stubs out there for numpy (or related libraries) that use a
Union[Literal['foo'], Literal['bar']]. See also: https://www.python.org/dev/peps/pep-0586/.Annotations are the future, so using them makes only sense.