From 80304c44ff02561dab4b2777b5ca93fd6092345b Mon Sep 17 00:00:00 2001 From: Oscar <94227101+oscgu@users.noreply.github.com> Date: Mon, 15 Jul 2024 21:24:42 +0200 Subject: [PATCH] fix: add missing _get_sink_type method to zulip sink (#1498) Co-authored-by: Oscar Guertler --- src/robusta/core/sinks/zulip/zulip_sink_params.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/robusta/core/sinks/zulip/zulip_sink_params.py b/src/robusta/core/sinks/zulip/zulip_sink_params.py index 748dd5e49..6c3c5045c 100644 --- a/src/robusta/core/sinks/zulip/zulip_sink_params.py +++ b/src/robusta/core/sinks/zulip/zulip_sink_params.py @@ -16,6 +16,10 @@ class ZulipSinkParams(SinkBaseParams): topic_override: Optional[str] = None log_preview_char_limit: int = 500 + @classmethod + def _get_sink_type(cls): + return "zulip" + @validator("topic_override") def validate_topic_override(cls, v: str): return ChannelTransformer.validate_channel_override(v)