def name(self) -> str: """ :return: Stream name. By default this is the implementing class name, but it can be overridden as needed. """ return casing.camel_to_snake(self.__class__.__name__)
def name(self) -> str: """We override stream name to let the user change it via configuration.""" name = self._new_class_name or self.__class__.__name__ return casing.camel_to_snake(name)