mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Mark issues in FixupBase abstract (#5033)
Since #5024 all fixups have an associated issue. Generally, it is generally better to have an issue for every fixup so that things can be mapped to repairs in Core easily. Let's mark the issues property as abstract to indicate subclasses are required to implement it.
This commit is contained in:
parent
16f8c75e9f
commit
221292ad14
@ -58,9 +58,9 @@ class FixupBase(ABC, CoreSysAttributes):
|
||||
"""Return a ContextType enum."""
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def issues(self) -> list[IssueType]:
|
||||
"""Return a IssueType enum list."""
|
||||
return []
|
||||
|
||||
@property
|
||||
def auto(self) -> bool:
|
||||
|
Loading…
x
Reference in New Issue
Block a user