Skip to content

Commit 4e8ff99

Browse files
authored
fix(dfns): add tagged attribute to field schema (#304)
1 parent b3f46fc commit 4e8ff99

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

autotest/test_dfns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def test_fieldv1_to_fieldv2_conversion():
422422
assert save_flows.type == "keyword"
423423
assert save_flows.block == "options"
424424
assert save_flows.description == "save calculated flows"
425-
assert not hasattr(save_flows, "tagged")
425+
assert hasattr(save_flows, "tagged")
426426
assert not hasattr(save_flows, "in_record")
427427
assert not hasattr(save_flows, "reader")
428428

modflow_devtools/dfns/schema/field.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ class Field:
1919
shape: str | None = None
2020
valid: tuple[str, ...] | None = None
2121
netcdf: bool = False
22+
tagged: bool = False

0 commit comments

Comments
 (0)