Decorating __init__()
with a class decorator is not supported
#18513
Labels
bug
mypy got something wrong
__init__()
with a class decorator is not supported
#18513
Bug Report
I want to define a decorator as a class to decorate another class's methods. However, when
__init__()
constructor is decorated with that class, mypy reportsUnsupported decorated constructor type
error.(For reference) Stackoverflow question I posted: https://stackoverflow.com/questions/79374167/mypy-unsupported-decorated-constructor-type-error-when-decorating-init-w
To Reproduce
Actual Behavior
Your Environment
--strict
mypy.ini
(and other config files): defaultThe text was updated successfully, but these errors were encountered: