Skip to content

fix remaining deprecated abstractproperty decorator#1945

Merged
MaxHalford merged 1 commit into
online-ml:mainfrom
mugulmd:fix-abstractproperty
Jul 7, 2026
Merged

fix remaining deprecated abstractproperty decorator#1945
MaxHalford merged 1 commit into
online-ml:mainfrom
mugulmd:fix-abstractproperty

Conversation

@mugulmd

@mugulmd mugulmd commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

abc.abstractproperty is deprecated since Python 3.3, in favor of stacked decorators:

@property
@abstractmethod
def ...

This pattern is enforced everywhere in the codebase except one tiny omission, this PR fixes it.

@MaxHalford MaxHalford merged commit 5eed38d into online-ml:main Jul 7, 2026
3 checks passed
@MaxHalford

Copy link
Copy Markdown
Member

Thanks! Easy enough to merge from my phone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants