File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -475,16 +475,16 @@ def _encode_type(type_info: AnalyzedTypeInfo) -> dict[str, Any]:
475475 }
476476
477477
478- def encode_enriched_type_info (enriched_type_info : AnalyzedTypeInfo ) -> dict [str , Any ]:
478+ def encode_enriched_type_info (type_info : AnalyzedTypeInfo ) -> dict [str , Any ]:
479479 """
480- Encode an enriched type info to a CocoIndex engine's type representation
480+ Encode an `AnalyzedTypeInfo` to a CocoIndex engine's `EnrichedValueType` representation
481481 """
482- encoded : dict [str , Any ] = {"type" : _encode_type (enriched_type_info )}
482+ encoded : dict [str , Any ] = {"type" : _encode_type (type_info )}
483483
484- if enriched_type_info .attrs is not None :
485- encoded ["attrs" ] = enriched_type_info .attrs
484+ if type_info .attrs is not None :
485+ encoded ["attrs" ] = type_info .attrs
486486
487- if enriched_type_info .nullable :
487+ if type_info .nullable :
488488 encoded ["nullable" ] = True
489489
490490 return encoded
You can’t perform that action at this time.
0 commit comments