#!/usr/bin/env python3
from commands.base import BaseCommand
from submission import Submission
class Merge(BaseCommand):
def exec(self, submission: Submission) -> None:
iid = self.gitlab.get_mrs_for_branch(submission.branch)[0]["iid"]
self.gitlab.merge_mr(iid)