gitlab: make url mandatory and add type
This commit is contained in:
parent
d62e77c1b4
commit
bea9d6d147
2 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,7 @@ class GitLabLister(Lister[GitLabListerState, PageResult]):
|
|||
def __init__(
|
||||
self,
|
||||
scheduler,
|
||||
url=None,
|
||||
url: str,
|
||||
instance: Optional[str] = None,
|
||||
credentials: Optional[CredentialsType] = None,
|
||||
incremental: bool = False,
|
||||
|
|
|
@ -17,6 +17,7 @@ lister_args = {
|
|||
"api_token": "bogus",
|
||||
},
|
||||
"gitea": {"url": "https://try.gitea.io/api/v1/",},
|
||||
"gitlab": {"url": "https://gitlab.ow2.org/api/v4", "instance": "ow2",},
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue