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
Is your feature request related to a problem? Please describe.
From #9272, this commit removed any user control over the representation of the Enum in the docs. As a result, what we would like to be represented as <no_default> becomes the slightly ugly _NoDefault.no_default in the pandas docs.
Describe the solution you'd like
Add a check to see if the user is overwriting Enum's repr: object.__repr__ is Enum.__repr__. If they are overwriting it, just use the repr as-is.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
[e.g. URL or Ticket]
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
From #9272, this commit removed any user control over the representation of the Enum in the docs. As a result, what we would like to be represented as
<no_default>
becomes the slightly ugly_NoDefault.no_default
in the pandas docs.Describe the solution you'd like
Add a check to see if the user is overwriting Enum's repr:
object.__repr__ is Enum.__repr__
. If they are overwriting it, just use the repr as-is.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: