diff --git a/sentry_streams/sentry_streams/rust_streams.pyi b/sentry_streams/sentry_streams/rust_streams.pyi index 4aabf22b..ab619604 100644 --- a/sentry_streams/sentry_streams/rust_streams.pyi +++ b/sentry_streams/sentry_streams/rust_streams.pyi @@ -24,13 +24,6 @@ class OffsetResetConfig: def __init__(self, auto_offset_reset: InitialOffset, strict_offset_reset: bool) -> None: ... class PyKafkaConsumerConfig: - bootstrap_servers: Sequence[str] - group_id: str - auto_offset_reset: InitialOffset - strict_offset_reset: bool - max_poll_interval_ms: int - override_params: Mapping[str, str] | None - def __init__( self, bootstrap_servers: Sequence[str], @@ -40,16 +33,29 @@ class PyKafkaConsumerConfig: max_poll_interval_ms: int, override_params: Mapping[str, str] | None = None, ) -> None: ... + @property + def bootstrap_servers(self) -> Sequence[str]: ... + @property + def group_id(self) -> str: ... + @property + def auto_offset_reset(self) -> InitialOffset: ... + @property + def strict_offset_reset(self) -> bool: ... + @property + def max_poll_interval_ms(self) -> int: ... + @property + def override_params(self) -> Mapping[str, str] | None: ... class PyKafkaProducerConfig: - bootstrap_servers: Sequence[str] - override_params: Mapping[str, str] | None - def __init__( self, bootstrap_servers: Sequence[str], override_params: Mapping[str, str] | None = None, ) -> None: ... + @property + def bootstrap_servers(self) -> Sequence[str]: ... + @property + def override_params(self) -> Mapping[str, str] | None: ... class PyMetricConfig: def __init__(