This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
Certain pattern will create an @enum annotation, even though it should be a UnionType #42
Labels
bug 🪲
Something isn't working
@enum
Related to the @enum annotation
wrong annotation
An annotation was generated automatically but is incorrect
Is your feature request related to a problem?
Currently, the pattern
will result in an @enum annotation.
Desired solution
It should be a UnionType (with, in this case, Enum, List and None types).
Possible alternatives (optional)
No response
Screenshots (optional)
Screenshots of the current state:
Additional Context (optional)
Examples:
#/sklearn/sklearn.metrics._classification/f1_score/average
The text was updated successfully, but these errors were encountered: