7f49d0db3b
→ poc was not so solid 😏
→ refactor for better architecture and maintainability
12 lines
311 B
Python
12 lines
311 B
Python
from abc import ABC, abstractmethod
|
|
from typing import Dict, Any
|
|
|
|
|
|
class MaterialProcessor(ABC):
|
|
@abstractmethod
|
|
def process_material(
|
|
self, material_data: Dict[str, Any], level: str, type_name: str
|
|
) -> None:
|
|
"""Process material data and compute required properties"""
|
|
pass
|