Skip to content
Snippets Groups Projects
Commit 2f9fe938 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Remove constrains on variable unit

parent 059f4f69
No related branches found
No related tags found
No related merge requests found
......@@ -184,11 +184,6 @@ class VariablesExporter:
elif key == "unit":
if value is not None:
assert isinstance(value, str)
assert value in (
"currency",
"months",
"years",
), value
export[key] = value
elif key == "value_type":
assert value in (bool, datetime.date, float, int, str) or issubclass(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment