distro-tools/apollo/rhwebscraper/example.py

13 lines
227 B
Python
Raw Permalink Normal View History

2023-02-01 21:37:16 +00:00
import asyncio
from __init__ import get_advisory_topic_and_fixes
async def main():
advisory = await get_advisory_topic_and_fixes("RHSA-2023:0536")
print(advisory)
if __name__ == "__main__":
asyncio.run(main())