Skip to content

Commit 376ab2d

Browse files
viniciusdsmellogustavocidornelas
authored andcommitted
fix(tracer): update dictionary type annotation in OpenlayerTracerProcessor
- Changed the type annotation of `dict_obj` in `_cleanup_dict_with_warning` from `Dict[str, Any]` to `Dict` for improved type specificity and clarity.
1 parent 1ea28d7 commit 376ab2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openlayer/lib/integrations/openai_agents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ def _extract_actual_llm_output(self, span_data: Any) -> Optional[str]:
16711671
except Exception:
16721672
return None
16731673

1674-
def _cleanup_dict_with_warning(self, dict_obj: Dict[str, Any], name: str) -> None:
1674+
def _cleanup_dict_with_warning(self, dict_obj: Dict, name: str) -> None:
16751675
"""Helper to clean up dictionaries with warning logging."""
16761676
if dict_obj:
16771677
dict_obj.clear()

0 commit comments

Comments
 (0)