INNER CODE UNIT · Python
main
tropicoo/yt-dlp-bot · app_worker/main.py:9
async def main() -> None:
"""Set up logging and start the worker launcher.
This function sets up the logging configuration and starts the WorkerLauncher.
It is intended to be run as the main entry point of the application.
"""
setup_logging()
await WorkerLauncher().start()
if __name__ == '__main__':
uvloop.install()
asyncio.run(main())