Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed Aug 27, 2024
1 parent a8392ff commit 2b2fba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portkey_ai/llamaindex/portkey_llama_callback_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def llm_event_start(self, payload: Any) -> Any:
return self.request

def llm_event_end(self, payload: Any, event_id) -> Any:
result: dict[str, Any] = {}
result: Dict[str, Any] = {}
result["body"] = {}

try:
Expand Down Expand Up @@ -416,7 +416,7 @@ def sub_question_event_start(self, payload: Any) -> Any:
return data

def sub_question_event_end(self, payload: Any, event_id) -> Any:
result: dict[str, Any] = {}
result: Dict[str, Any] = {}
result["body"] = {}
if event_id in self.event_map:
event = self.event_map[event_id]
Expand Down

0 comments on commit 2b2fba4

Please sign in to comment.