mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(rpc): add "by" parameter - comaintainers
Add "by" parameter: comaintainers Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
efd20ed2c7
commit
bcd808ddc1
3 changed files with 33 additions and 2 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue