Skip to content
Snippets Groups Projects
Commit 5a4480b4 authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent 631d2eeb
No related branches found
No related tags found
No related merge requests found
import json import json
import os import os
import sys
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
import resource_management import resource_management
...@@ -20,6 +19,6 @@ rsp = client.get('/openapi.json') ...@@ -20,6 +19,6 @@ rsp = client.get('/openapi.json')
openapi_doc = json.dumps(rsp.json(), indent=2) openapi_doc = json.dumps(rsp.json(), indent=2)
with open(output_filename, 'w') as f: with open(output_filename, 'w') as f:
f.write(openapi_doc) f.write(openapi_doc)
print(f'wrote {output_filename}') print(f'wrote {output_filename}')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment