Skip to content

Commit

Permalink
Drop constraints from data dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Nov 26, 2024
1 parent ee6ba27 commit a674c97
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions data-export-meta/readme_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def readme_info(df, dp_resource, field_list=True):
"Description",
"Type",
"Format",
"Constraints",
]
csvwriter = csv.DictWriter(csv_datadict, fieldnames=fieldnames)
csvwriter.writeheader()
Expand All @@ -91,8 +90,5 @@ def readme_info(df, dp_resource, field_list=True):
"Description": field["description"],
"Type": field["type"],
"Format": field.get("format"),
"Constraints": field["constraints"]["pattern"]
if "constraints" in field
else "",
}
)

0 comments on commit a674c97

Please sign in to comment.