def METHOD_NAME(cls: Type[Self]) -> Type[SinkConfig]:
    config_class = get_class_from_annotation(cls, Sink, ConfigModel)
    assert config_class, "Sink subclasses must define a config class"
    return cast(Type[SinkConfig], config_class)