Skip to content

Commit d9599a4

Browse files
committed
Fixed precommit and types and passing tests
1 parent 8740a92 commit d9599a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

luxonis_ml/data/exporters/prepared_ldf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
import polars as pl
55

6+
from luxonis_ml.data import LuxonisDataset
7+
68

79
class PreparedLDF:
810
"""Lightweight container for LDF data, ready for export."""
@@ -18,7 +20,7 @@ def __init__(
1820
self.grouped_image_sources = grouped_image_sources
1921

2022
@classmethod
21-
def from_dataset(cls, ldf: "LuxonisDataset") -> "PreparedLDF":
23+
def from_dataset(cls, ldf: LuxonisDataset) -> "PreparedLDF":
2224
"""Prepare a dataset for export into the LDF representation."""
2325
splits = ldf.get_splits()
2426
if splits is None:

0 commit comments

Comments
 (0)