13 lines
360 B
Python
13 lines
360 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
|
||
|
from commands.base import BaseCommand
|
||
|
from gitlab import get_mrs_for_branch, set_assignees
|
||
|
|
||
|
|
||
|
class UpdateAssignees(BaseCommand):
|
||
|
def exec(self, login: str, submission: str) -> None:
|
||
|
iid = get_mrs_for_branch(self.branch)[0]["iid"]
|
||
|
|
||
|
print(f"{login} @ {self.branch} : {iid}")
|
||
|
set_assignees(iid, ["39", "1772"])
|