Commit 0ea04e8f authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Fix model

parent 04186fa1
Pipeline #195422 failed with stage
in 31 seconds
......@@ -59,7 +59,7 @@ class Dimension(BaseModel):
values: DimensionValues
class DimensionFilters(BaseModel):
__root__: Dict[DimensionCode, str]
__root__: Dict[DimensionCode, List[DimensionValueCode]]
class Dataset(BaseModel):
code: DatasetCode
......@@ -70,10 +70,13 @@ class Dataset(BaseModel):
class SeriesCode(BaseModel):
__root__: str
class SeriesDimensions(BaseModel):
__root__: Dict[DimensionCode, DimensionValueCode]
class Series(BaseModel):
code: SeriesCode
name: str = None
dimensions: DimensionFilters
dimensions: SeriesDimensions
observations: List[Tuple]
# client code
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment