sintonia/analyzer/libretime_analyzer/steps/step.py
jo 2cae31a97a refactor(analyzer): redefine *_analyzer into steps
- update imports and names
- define step as a protocol
- extract analyzer function from classes
2022-01-18 11:18:19 +02:00

7 lines
152 B
Python

from typing import Any, Dict, Protocol
class Step(Protocol):
@staticmethod
def __call__(filename: str, metadata: Dict[str, Any]):
...