mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-22 18:01:07 +00:00
11 lines
218 B
Python
11 lines
218 B
Python
from abc import abstractmethod
|
|
from typing import TypeVar, Generic
|
|
|
|
T = TypeVar("T")
|
|
|
|
|
|
class Loader(Generic[T]):
|
|
@abstractmethod
|
|
def load(self) -> T:
|
|
raise Exception("Interface member not implemented")
|