Skip to content

Commit 908dfeb

Browse files
committed
Switch to drs_specs only allowing a single value
1 parent 41d901e commit 908dfeb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/esgvoc/apps/cmor_tables/cvs_table.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ class CMORCVsTable(BaseModel):
277277
Allowed value of `data_specs_version`
278278
"""
279279

280-
drs_specs: AllowedDict
280+
drs_specs: str
281281
"""
282-
Allowed values of `drs_specs`
282+
Allowed value of `drs_specs`
283283
"""
284284

285285
experiment_id: dict[str, CMORExperimentDefinition]
@@ -889,6 +889,7 @@ def generate_cvs_table(project: str) -> CMORCVsTable:
889889

890890
elif attr_property.field_name in [
891891
"data_specs_version",
892+
"drs_specs",
892893
"mip_era",
893894
]:
894895
# Special single value entries

0 commit comments

Comments
 (0)