Skip to content

Commit

Permalink
Remove a dead (ownership-related) class (#3004)
Browse files Browse the repository at this point in the history
## 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).
  • Loading branch information
asnare authored Oct 17, 2024
1 parent 6ff3621 commit fa83145
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/databricks/labs/ucx/framework/owners.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from abc import ABC, abstractmethod
from collections.abc import Callable, Iterable, Sequence
from functools import cached_property
from typing import ClassVar, Generic, Protocol, TypeVar, final
from typing import Generic, TypeVar, final

from databricks.sdk import WorkspaceClient
from databricks.sdk.errors import NotFound
Expand All @@ -11,10 +11,6 @@
logger = logging.getLogger(__name__)


class DataclassInstance(Protocol):
__dataclass_fields__: ClassVar[dict]


Record = TypeVar("Record")


Expand Down

0 comments on commit fa83145

Please sign in to comment.