def test_framework_support(self, framework: Union[str, Framework]):
        """
        Test if the framework is supported by this task.
        """
        if isinstance(framework, str):
            framework = Framework(framework)
        if framework not in self.supported_frameworks:
            raise NotImplementedError(f"Framework {framework} is not supported for this {self.__class__}.")

        Test if the framework is supported by this task.
        
argilla-v1/src/argilla_v1/client/feedback/training/schemas/base.py