etna-team / etna

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

Support property attributes in `repr` of `BaseMixin` #467

Closed egoriyaa closed 2 months ago

egoriyaa commented 2 months ago

🚀 Task description

Now __repr__ of BaseMixin doesn't support property attributes, but we want this.

Plan

So, we can replace self.__dict__[arg] with getattr(self, arg) in BaseMixin and other places where self.__dict__[arg] is used.

Test cases

No response

Additional context

No response