src/transformers/integrations/peft.py/PeftAdapterMixin/active_adapter
class PeftAdapterMixin:    def active_adapter(self) -> str:
        warnings.warn(
            "The `active_adapter` method is deprecated and will be removed in a future version.", FutureWarning
        )

        return self.active_adapters()[0]