Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f7d002

Browse files
authoredMar 10, 2025··
fix: pull request context - body can be null (#787)
1 parent d9cb6d9 commit 2f7d002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/codegen/git/models/pull_request_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ class PullRequestContext(BaseModel):
1414
state: str
1515
title: str
1616
user: GithubNamedUserContext
17-
body: str
1817
draft: bool
1918
head: PRPartContext
2019
base: PRPartContext
20+
body: str | None = None
2121
merged: bool | None = None
2222
merged_by: dict | None = None
2323
additions: int | None = None

0 commit comments

Comments
 (0)
Please sign in to comment.