From 1a3b36fdc42bad31a2d40e65115370b4e50400b3 Mon Sep 17 00:00:00 2001 From: davidberenstein1957 Date: Mon, 22 Jul 2024 14:09:35 +0200 Subject: [PATCH] Remove `target_workspace` and `target_name` from arguments --- argilla/docs/how_to_guides/import_export.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/argilla/docs/how_to_guides/import_export.md b/argilla/docs/how_to_guides/import_export.md index 20d0f3caf3..be6938faad 100644 --- a/argilla/docs/how_to_guides/import_export.md +++ b/argilla/docs/how_to_guides/import_export.md @@ -26,7 +26,8 @@ In Argilla, you can import/export two main components of a dataset: ```python rg.Dataset.from_hub( repo_id="/", - workspace="" + name="", + workspace="", client=rg.Client(), with_records=True ) @@ -43,8 +44,8 @@ In Argilla, you can import/export two main components of a dataset: ```python rg.Dataset.from_disk( path="/", - target_workspace=None, - target_name=None, + name="", + workspace="" ) ``` === "`rg.Dataset.records.to_datasets()`" @@ -163,7 +164,7 @@ dataset = rg.Dataset.from_disk(path="path/to/dataset") You can also specify the workspace and name of the dataset when loading it from the disk. ```python - dataset = rg.Dataset.from_disk(path="path/to/dataset", target_workspace=workspace, target_name="my_dataset") + dataset = rg.Dataset.from_disk(path="path/to/dataset", workspace=workspace, name="my_dataset") ``` ## Exporting and importing records