Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions intel_variant_provider/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import warnings
from dataclasses import dataclass
from functools import cache
from typing import Protocol, runtime_checkable

from intel_variant_provider.devices import *
from intel_variant_provider.ze import *
Expand All @@ -15,24 +14,6 @@
VariantFeatureName = str
VariantFeatureValue = str

@runtime_checkable
class VariantPropertyType(Protocol):
"""A protocol for variant properties"""

@property
def namespace(cls) -> VariantNamespace:
"""Namespace (from plugin)"""
raise NotImplementedError

@property
def feature(cls) -> VariantFeatureName:
"""Feature name (within the namespace)"""
raise NotImplementedError

@property
def value(cls) -> VariantFeatureValue:
"""Feature value"""
raise NotImplementedError

@dataclass(frozen=True)
class VariantFeatureConfig:
Expand Down