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
I have some cases where I'd like to add the @deprecated decorator to methods/properties. In the docs I only see nb::sig described as a way to add a decorator. But then I would have to retype method signature that would otherwise be auto-generated. Any way to only add a decorator to a signature?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have some cases where I'd like to add the
@deprecateddecorator to methods/properties. In the docs I only seenb::sigdescribed as a way to add a decorator. But then I would have to retype method signature that would otherwise be auto-generated. Any way to only add a decorator to a signature?Beta Was this translation helpful? Give feedback.
All reactions