Skip to content

Commit 40999f0

Browse files
committed
chore: unblock the previously failed test case
1 parent 2cbb8b9 commit 40999f0

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

python/cocoindex/flow.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@
2828
from rich.text import Text
2929
from rich.tree import Tree
3030

31-
from . import (
32-
_engine, # type: ignore
33-
index,
34-
op,
35-
setting,
36-
)
31+
from . import _engine # type: ignore
32+
from . import index
33+
from . import op
34+
from . import setting
3735
from .convert import dump_engine_object, encode_engine_value, make_engine_value_decoder
3836
from .op import FunctionSpec
3937
from .runtime import execution_context

python/cocoindex/tests/test_convert.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import datetime
22
import inspect
33
import uuid
4-
from dataclasses import dataclass, make_dataclass, field
4+
from dataclasses import dataclass, make_dataclass
55
from typing import Annotated, Any, Callable, Literal, NamedTuple
66

77
import numpy as np
@@ -19,8 +19,8 @@
1919
Float64,
2020
TypeKind,
2121
Vector,
22-
encode_enriched_type,
2322
analyze_type_info,
23+
encode_enriched_type,
2424
)
2525

2626

@@ -1515,7 +1515,7 @@ class UnsupportedField:
15151515

15161516
validate_full_roundtrip(LTableField(1, []), LTableField)
15171517

1518-
# validate_full_roundtrip(KTableField(1, {}), KTableField)
1518+
validate_full_roundtrip(KTableField(1, {}), KTableField)
15191519

15201520
with pytest.raises(
15211521
ValueError,

0 commit comments

Comments
 (0)