Skip to content

Commit 6b20dac

Browse files
committed
added task cleanup to doc
1 parent d9f25f7 commit 6b20dac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/guides/extensions/curator/metadata_curation.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,9 @@ if validation_df is not None:
395395
# Clean up temporary file
396396
if os.path.exists(temp_csv):
397397
os.unlink(temp_csv)
398+
399+
# Clean up RecordSet and CurationTask
400+
curation_task.delete(delete_source=True)
398401
```
399402

400403
In this example you would expect to get results like:

0 commit comments

Comments
 (0)