diff --git a/tests/refresh_all_apis.py b/tests/refresh_all_apis.py index 74446cc..87e3ddd 100755 --- a/tests/refresh_all_apis.py +++ b/tests/refresh_all_apis.py @@ -60,4 +60,4 @@ async def refresh_disc_docs_json(): if __name__ == "__main__": - asyncio.get_event_loop().run_until_complete(refresh_disc_docs_json()) + asyncio.run(refresh_disc_docs_json())