Skip to content

Commit 68cfdf7

Browse files
committed
add more comments
1 parent c576440 commit 68cfdf7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python/cocoindex/tests/test_convert.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ def build_engine_value_decoder(
6767
def validate_full_roundtrip(
6868
value: Any, output_type: Any, input_type: Any | None = None
6969
) -> None:
70+
"""
71+
Validate the given value doesn't change after encoding, sending to engine (using output_type), receiving back and decoding (using input_type).
72+
73+
If `input_type` is not specified, uses `output_type` as the target.
74+
"""
7075
from cocoindex import _engine
7176

7277
encoded_value = encode_engine_value(value)

0 commit comments

Comments
 (0)