| 181 | |
| 182 | @dataclass |
| 183 | class DiffWithGitHubMetadata: |
| 184 | diff: ghstack.diff.Diff |
| 185 | number: GitHubNumber |
| 186 | username: str |
| 187 | # Really ought not to be optional, but for BC reasons it might be |
| 188 | remote_source_id: Optional[str] |
| 189 | # Guaranteed to be set for --direct PRs |
| 190 | comment_id: Optional[int] |
| 191 | title: str |
| 192 | body: str |
| 193 | closed: bool |
| 194 | ghnum: GhNumber |
| 195 | pull_request_resolved: ghstack.diff.PullRequestResolved |
| 196 | head_ref: str |
| 197 | base_ref: str |
| 198 | |
| 199 | |
| 200 | # Metadata describing a diff we submitted to GitHub |
no outgoing calls
no test coverage detected