feat(rpc): add "by" parameter - comaintainers

Add "by" parameter: comaintainers

Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
moson-mo 2022-11-08 16:44:59 +01:00
parent efd20ed2c7
commit bcd808ddc1
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
3 changed files with 33 additions and 2 deletions

View file

@ -89,6 +89,7 @@ class RPC:
"groups",
"submitter",
"keywords",
"comaintainers",
}
# A mapping of by aliases.
@ -98,6 +99,7 @@ class RPC:
"maintainer": "m",
"submitter": "s",
"keywords": "k",
"comaintainers": "c",
}
def __init__(self, version: int = 0, type: str = None) -> "RPC":