Skip to content

Commit fa83145

Browse files
authored
Remove a dead (ownership-related) class (#3004)
## Changes This PR trivially removes a dead class; this was detritus left over from an intermediate version of the ownership mechanism that limited `Record` to `dataclass` classes. However this limitation was removed prior to the original code being merged (and the mechanism can be used with any class).
1 parent 6ff3621 commit fa83145

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/databricks/labs/ucx/framework/owners.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from abc import ABC, abstractmethod
33
from collections.abc import Callable, Iterable, Sequence
44
from functools import cached_property
5-
from typing import ClassVar, Generic, Protocol, TypeVar, final
5+
from typing import Generic, TypeVar, final
66

77
from databricks.sdk import WorkspaceClient
88
from databricks.sdk.errors import NotFound
@@ -11,10 +11,6 @@
1111
logger = logging.getLogger(__name__)
1212

1313

14-
class DataclassInstance(Protocol):
15-
__dataclass_fields__: ClassVar[dict]
16-
17-
1814
Record = TypeVar("Record")
1915

2016

0 commit comments

Comments
 (0)