etna-team / etna

ETNA – Time-Series Library
https://docs.etna.ai
Apache License 2.0
125 stars 7 forks source link

[BUG] Support property attributes in `repr` of `BaseMixin` #466

Closed egoriyaa closed 1 month ago

egoriyaa commented 1 month ago

🐛 Bug Report

Now __repr__ of BaseMixin doesn't support property attributes, but we want this. So, we can replace self.__dict__[arg] with getattr(self, arg) in BaseMixin and other places where self.__dict__[arg] is used.

Expected behavior

__repr__ of BaseMixin supports property attributes.

How To Reproduce

.

Environment

No response

Additional context

No response

Checklist