mirror of
https://github.com/clearml/clearml-docs
synced 2025-06-26 18:17:44 +00:00
Small edits (#128)
This commit is contained in:
@@ -13,8 +13,9 @@ Hyper-Datasets are supported by the `allegroai` python package.
|
||||
Use [`Task.connect`](../references/sdk/task.md#connect) to connect a Dataview object to a Task:
|
||||
|
||||
```python
|
||||
from allegroai import DataView
|
||||
from allegroai import DataView, Task
|
||||
|
||||
task = Task.init(project_name='examples', task_name='my task')
|
||||
dataview = DataView()
|
||||
task.connect(dataview)
|
||||
```
|
||||
@@ -24,7 +25,7 @@ task.connect(dataview)
|
||||
Use the `Task.get_dataviews` method to access the Dataviews that are connected to a Task.
|
||||
|
||||
```python
|
||||
task.get_dataviews():
|
||||
task.get_dataviews()
|
||||
```
|
||||
|
||||
This returns a dictionary of Dataview objects and their names.
|
||||
|
||||
Reference in New Issue
Block a user