Add inheritance of ABC from the abc package for abstract classes
@Gagu422 is already working on this.
Since Dec 15, 2021.
Assessment
This issue has not been assessed yet.
Description
For the abstract classes like forecaster or base_estimator, we could inherit the ABC class from the abc package so that 1) we could prevent abstract classes from being instantiated; 2) we don't need to raise NotImplementedError manually each time
You could find further explanation in the stackoverflow here: https://stackoverflow.com/questions/56008847/when-should-one-inherit-from-abc
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uber/orbit
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
enhancement refactor
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100