python-gitlab is not asyncio. Probably easiest to just write the necessary API calls manually into a library file like gitlab_hook.py is for webhooks.