Skip to content

Commit

Permalink
Add string to allowed types
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Dec 10, 2021
1 parent 601a397 commit 54b6608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfisca_core/parameters/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# 'unit' and 'reference' are only listed here for backward compatibility.
# It is now recommended to include them in metadata, until a common consensus emerges.
ALLOWED_PARAM_TYPES = (float, int, bool, type(None), typing.List)
ALLOWED_PARAM_TYPES = (float, int, bool, type(None), typing.List, str)
COMMON_KEYS = {'description', 'metadata', 'unit', 'reference', 'documentation'}
FILE_EXTENSIONS = {'.yaml', '.yml'}

Expand Down

0 comments on commit 54b6608

Please sign in to comment.