Skip to content

Commit 06a3610

Browse files
committed
fix: wrong argilla module import
1 parent c9fc2a5 commit 06a3610

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: src/distilabel/steps/argilla/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def model_post_init(self, __context: Any) -> None:
9292
super().model_post_init(__context)
9393

9494
try:
95-
import argilla_sdk as rg # noqa
95+
import argilla as rg # noqa
9696
except ImportError as ie:
9797
raise ImportError(
9898
"Argilla is not installed. Please install it using `pip install argilla --upgrade`."

Diff for: tests/unit/steps/argilla/test_preference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import os
1616
from unittest.mock import patch
1717

18-
import argilla_sdk as rg
18+
import argilla as rg
1919
from distilabel.pipeline.local import Pipeline
2020
from distilabel.steps.argilla.preference import PreferenceToArgilla
2121

Diff for: tests/unit/steps/argilla/test_text_generation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import os
1616
from unittest.mock import patch
1717

18-
import argilla_sdk as rg
18+
import argilla as rg
1919
from distilabel.pipeline.local import Pipeline
2020
from distilabel.steps.argilla.text_generation import TextGenerationToArgilla
2121

0 commit comments

Comments
 (0)