We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71686f6 commit 395678cCopy full SHA for 395678c
sonar/webhooks.py
@@ -60,7 +60,7 @@ def __init__(self, endpoint: pf.Platform, name: str, url: str, secret: Optional[
60
WebHook.CACHE.put(self)
61
62
@classmethod
63
- def create(cls, endpoint: pf.Platform, name: str, url: str, secret: Optional[str], project: Optional[str]) -> WebHook:
+ def create(cls, endpoint: pf.Platform, name: str, url: str, secret: Optional[str] = None, project: Optional[str] = None) -> WebHook:
64
"""Creates a WebHook object in SonarQube
65
66
:param Platform endpoint: Reference to the SonarQube platform
0 commit comments