nimi-python
nimi-python copied to clipboard
Implementation of __repr__ for custom types in nifake should be updated to use `__module__` and `__qualname__`
Description of issue
Best practice for implementing __repr__
for custom types is to use
__module__
and __qualname__
.
By including __module__
in __repr__
, eval(repr(CustomType()))
can be called by importing nifake as import nifake
; which is
consistent with recommended import style of nimi-python.
Related issue for making similar change in released modules: #1443