1- from collections .abc import Set as AbstractSet
1+ from collections .abc import Mapping , Set as AbstractSet
22from typing import Annotated , TypeAlias
33
44from typing_extensions import TypedDict
77
88_ColumnSkeleton : TypeAlias = Annotated [str , Node (key_length = 2 )]
99_TableSkeleton : TypeAlias = Annotated [AbstractSet [_ColumnSkeleton ], Node ()]
10- _TablesSkeleton : TypeAlias = dict [str , _TableSkeleton ]
10+ _TablesSkeleton : TypeAlias = Mapping [str , _TableSkeleton ]
1111
1212_LevelSkeleton : TypeAlias = Annotated [str , Node (key_length = 3 )]
1313_HierarchySkeleton : TypeAlias = Annotated [
1414 AbstractSet [_LevelSkeleton ], Node (key_length = 2 )
1515]
16- _DimensionSkeleton : TypeAlias = dict [str , _HierarchySkeleton ]
17- _DimensionsSkeleton : TypeAlias = dict [str , _DimensionSkeleton ]
16+ _DimensionSkeleton : TypeAlias = Mapping [str , _HierarchySkeleton ]
17+ _DimensionsSkeleton : TypeAlias = Mapping [str , _DimensionSkeleton ]
1818
1919_MeasureSkeleton : TypeAlias = Annotated [str , Node ()]
2020_MeasuresSkeleton : TypeAlias = AbstractSet [_MeasureSkeleton ]
@@ -27,7 +27,7 @@ class __CubeSkeleton(TypedDict):
2727
2828_CubeSkeleton : TypeAlias = Annotated [__CubeSkeleton , Node ()]
2929
30- _CubesSkeleton : TypeAlias = dict [str , _CubeSkeleton ]
30+ _CubesSkeleton : TypeAlias = Mapping [str , _CubeSkeleton ]
3131
3232
3333class Skeleton (TypedDict ):
0 commit comments