Coverage for src/bioimageio/core/_axis_annotations.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.17.3, created at 2026-11-20 09:46 +0000

1from collections.abc import Mapping 

2from typing import Annotated, TypeVar 

3 

4from ._common_annotations import PydanticMappingProxyAnnotation 

5from .axis import AxisId 

6 

7_T = TypeVar("_T") 

8 

9PerAxisAnno = Annotated[Mapping[AxisId, _T], PydanticMappingProxyAnnotation] 

10"""PerAxis annotated with `PydanticMappingProxyAnnotation` to be compatible with pydantic models."""