- update imports and names - define step as a protocol - extract analyzer function from classes
7 lines
152 B
Python
7 lines
152 B
Python
from typing import Any, Dict, Protocol
|
|
|
|
|
|
class Step(Protocol):
|
|
@staticmethod
|
|
def __call__(filename: str, metadata: Dict[str, Any]):
|
|
...
|