Coverage for skema/metal/model_linker/skema_model_linker/walkers/generalized_amr.py: 80%
5 statements
« prev ^ index » next coverage.py v7.5.0, created at 2024-04-30 17:15 +0000
« prev ^ index » next coverage.py v7.5.0, created at 2024-04-30 17:15 +0000
1from typing import Optional, Any
3from . import JsonDictWalker
6class GeneralizedAMRWalker(JsonDictWalker):
8 def _filter(self, obj_name: Optional[str], obj: Any, index: Optional[int]) -> bool:
9 return obj_name in {"states", "parameters"}