Skip to content

Commit 6880787

Browse files
committed
Quallity pass
1 parent 4f53b44 commit 6880787

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sonar/platform.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,10 @@ def __urlstring(self, api: str, params: types.ApiParams, data: str = None) -> st
443443
url += f" - BODY: {data}"
444444
return url
445445

446-
def webhooks(self) -> dict[str, object]:
446+
def webhooks(self) -> dict[str, webhooks.WebHook]:
447447
"""
448448
:return: the list of global webhooks
449-
:rtype: dict{<webhook_name>: <webhook_data>, ...}
450449
"""
451-
from sonar import webhooks
452-
453450
return webhooks.get_list(self)
454451

455452
def export(self, export_settings: types.ConfigSettings, full: bool = False) -> types.ObjectJsonRepr:

0 commit comments

Comments
 (0)