Page MenuHomeSoftware Heritage

api: properly use deprecated for class renamings
ClosedPublic

Authored by douardda on Jul 15 2019, 12:04 PM.

Details

Summary

the deprecated decorator for classes does not return a new class, it only
inject a modified new method, so we indeed need a new class object
in this case of class renaming.

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.