Skip to content

Commit

Permalink
Merge pull request #4380 from cservakt/annotation-json-export
Browse files Browse the repository at this point in the history
[feat] Adding report annotation for json export
  • Loading branch information
cservakt authored Nov 11, 2024
2 parents 9598141 + 16c0ca7 commit 25c6c20
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,8 @@ def to_json(self) -> Dict:
"bug_path_positions": [
p.to_json() for p in self.bug_path_positions],
"notes": [n.to_json() for n in self.notes],
"macro_expansions": [m.to_json() for m in self.macro_expansions]
"macro_expansions": [m.to_json() for m in self.macro_expansions],
"annotations": self.annotations if self.annotations else {}
}

def __eq__(self, other):
Expand Down

0 comments on commit 25c6c20

Please sign in to comment.