comments models
This commit is contained in:
@@ -50,7 +50,7 @@ class TriageMarker:
|
||||
def find_prior_marker(issue: IssueContext) -> TriageMarker | None:
|
||||
logger.debug(json.dumps([c.model_dump() for c in issue.comments], indent=4))
|
||||
for c in reversed(issue.comments):
|
||||
m = TriageMarker.parse(c['body'])
|
||||
m = TriageMarker.parse(c.body)
|
||||
if m:
|
||||
return m
|
||||
|
||||
|
||||
Reference in New Issue
Block a user