We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99c078f + 69a6676 commit 997f5a7Copy full SHA for 997f5a7
1 file changed
openapi_parser.py
@@ -537,6 +537,5 @@ def dump_documentation(hydra_doc: Dict[str, Any]) -> str:
537
print(exc)
538
hydra_doc = parse(doc)
539
540
- f = open("../samples/hydra_doc_sample.py", "w")
541
- f.write(dump_documentation(hydra_doc))
542
- f.close()
+ with open("../samples/hydra_doc_sample.py", "w") as f:
+ f.write(dump_documentation(hydra_doc))
0 commit comments