File: go.py

package info (click to toggle)
python-azure 20251118%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 783,356 kB
  • sloc: python: 6,474,533; ansic: 804; javascript: 287; sh: 205; makefile: 198; xml: 109
file content (23 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from common import IssueProcess, Common
from typing import Any, List

# assignee dict which will be assigned to handle issues
_GO_OWNER = {'ArcturusZhang', 'azure-sdk', 'tadelesh'}
_GO_ASSIGNEE = {'jliusan'}


class IssueProcessGo(IssueProcess):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.language_name = 'go'


class Go(Common):
    def __init__(self, issues, language_owner, sdk_assignees):
        super(Go, self).__init__(issues, language_owner, sdk_assignees)
        if not self.for_test():
            self.file_out_name = 'release_go_status.md'


def go_process(issues: List[Any]) -> Go:
    return Go(issues, _GO_OWNER, _GO_ASSIGNEE)