from twitch_airflow_components.hooks.metrics import MetricsHook

from conductor.hooks.hook_iface import IConfiguredHook


class ConfiguredMetricsHook(IConfiguredHook):
    def generate_hook(self, *_args, **kwargs) -> MetricsHook:
        return MetricsHook(default_namespace=self.project_resources.name, **kwargs)
