Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should use yaml.safe_load() #194

Open
DenesPal opened this issue Mar 18, 2021 · 1 comment
Open

Should use yaml.safe_load() #194

DenesPal opened this issue Mar 18, 2021 · 1 comment

Comments

@DenesPal
Copy link

Instead of yaml.load(obj) near getter.py:48 should use yaml.safe_load(obj) to suppress security warning. See https://msg.pyyaml.org/load for explanation.

@chuksleo
Copy link

chuksleo commented Mar 20, 2023

@DenesPal any idea if this changes have been implemented having this error recently
.venv/lib/python3.7/site-packages/pyswagger/getter.py:48: in __next__ obj = yaml.load(obj) E TypeError: load() missing 1 required positional argument: 'Loader'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants