Skip to content

Commit 8506144

Browse files
committed
bug fixes
1 parent ba09e55 commit 8506144

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/idp_common_pkg/idp_common/assessment/granular_service.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from idp_common import image, metrics, s3, utils
2323
from idp_common.assessment.models import AssessmentResult, AssessmentTask
2424
from idp_common.assessment.strands_executor import execute_assessment_tasks_parallel
25+
from idp_common.assessment.strands_service import _convert_field_path_to_string
2526
from idp_common.config.models import IDPConfig
2627
from idp_common.config.schema_constants import (
2728
SCHEMA_ITEMS,
@@ -305,7 +306,7 @@ def _traverse(
305306
task_id=f"task_{task_counter[0]}",
306307
task_type="attribute",
307308
field_path=item_path,
308-
field_name=prop_name,
309+
field_name=_convert_field_path_to_string(item_path),
309310
field_schema=items_schema,
310311
confidence_threshold=threshold,
311312
parent_assessment_dict=assessment_list, # type: ignore
@@ -328,7 +329,7 @@ def _traverse(
328329
task_id=f"task_{task_counter[0]}",
329330
task_type="attribute",
330331
field_path=field_path,
331-
field_name=prop_name,
332+
field_name=_convert_field_path_to_string(field_path),
332333
field_schema=prop_schema,
333334
confidence_threshold=threshold,
334335
parent_assessment_dict=parent_dict,

0 commit comments

Comments
 (0)