We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7da2b89 commit 3b91675Copy full SHA for 3b91675
1 file changed
fastapi_framework/config.py
@@ -77,7 +77,7 @@ def __new__(mcs, name, bases, dct):
77
if config_type.lower() == "yaml":
78
import yaml
79
80
- config = yaml.load(data, Loader=yaml.CLoader)
+ config = yaml.safe_load(data)
81
elif config_type.lower() == "json":
82
import json
83
0 commit comments