BaseIntegration.__call__ → BaseIntegration()

This commit is contained in:
Casey 2022-08-29 10:34:23 +03:00
parent f048cf07a9
commit 8b7c381870
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 5 deletions

View File

@ -49,10 +49,6 @@ async def execute_integrations(
status: Status, sinks: List[FilteredIntegration]
) -> List[Optional[str]]:
return await gather(
*[
sink[0].__call__(status)
for sink in sinks
if run_filters(sink[1], status)
],
*[sink[0](status) for sink in sinks if run_filters(sink[1], status)],
return_exceptions=True,
)