Skip to content

Luxonis-ml v0.6.6 Dataset Deletion Parameters#94

Merged
sokovninn merged 6 commits intomainfrom
fix/align-with-luxonis-ml-v0.6.6
May 13, 2025
Merged

Luxonis-ml v0.6.6 Dataset Deletion Parameters#94
sokovninn merged 6 commits intomainfrom
fix/align-with-luxonis-ml-v0.6.6

Conversation

@JSabadin
Copy link
Contributor

@JSabadin JSabadin commented May 8, 2025

Purpose

Luxonis-ml v0.6.6 provides two parameters for dataset deletion:

  • delete_remote
  • delete_local

These control which copies of a dataset get removed:

  1. Remote only
   delete_remote=True
   delete_local=False

Deletes the remote dataset. Any local copy remains intact.

  1. Local only
delete_remote=False
delete_local=True

Deletes the local dataset. The remote dataset remains untouched.

  1. Both
delete_remote=True
delete_local=True

Deletes both the remote and local copies of the dataset.

Note that when you create a remote dataset, a local copy is created as well.

Specification

None / not applicable

Dependencies & Potential Impact

None / not applicable

Deployment Plan

None / not applicable

Testing & Validation

None / not applicable

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates dataset deletion parameters in the Luxonis-ML integration by replacing the legacy delete_existing flag with the more explicit delete_local and delete_remote flags.

  • Replaces delete_existing with delete_local in multiple dataset constructor calls.
  • Ensures both remote and local deletion options are now explicitly defined.
Comments suppressed due to low confidence (3)

datadreamer/utils/luxonis_dataset_converter.py:153

  • Verify that the LuxonisDataset constructor has been updated to accept 'delete_local' and 'delete_remote', replacing the legacy 'delete_existing' parameter, so that the dataset deletion behavior remains consistent.
dataset_name, delete_local=True, delete_remote=True

datadreamer/utils/luxonis_dataset_converter.py:168

  • Confirm that replacing 'delete_existing' with 'delete_local' in this initializer call aligns with the updated deletion semantics and that any downstream consumers handle this change appropriately.
delete_local=True,

datadreamer/utils/luxonis_dataset_converter.py:173

  • Ensure that using only 'delete_local' in the local dataset branch properly reflects the intended behavior for local dataset deletion without relying on the legacy 'delete_existing' flag.
dataset = LuxonisDataset(dataset_name, delete_local=True)

@github-actions
Copy link

github-actions bot commented May 8, 2025

Test Results

  6 files    6 suites   3h 21m 36s ⏱️
 87 tests  67 ✅  20 💤 0 ❌
522 runs  398 ✅ 124 💤 0 ❌

Results for commit 6ad6513.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@sokovninn sokovninn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2007 1283 64% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
datadreamer/utils/luxonis_dataset_converter.py 74% 🟢
TOTAL 74% 🟢

updated for commit: 6ad6513 by action🐍

@sokovninn sokovninn merged commit 755ad60 into main May 13, 2025
10 checks passed
@sokovninn sokovninn deleted the fix/align-with-luxonis-ml-v0.6.6 branch August 24, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants