2.10.7
ReviewDecision
Package: flyteplugins.github
Structured decision parsed from a reviewer’s condition response.
Parameters
class ReviewDecision(
verdict: typing.Literal['approve', 'request_changes', 'comment'],
summary: str = '',
comments: list[flyteplugins.github._review.ReviewComment] = list(),
reviewer: str | None = None,
)Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be
validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
| Parameter | Type | Description |
|---|---|---|
verdict |
typing.Literal['approve', 'request_changes', 'comment'] |
|
summary |
str |
|
comments |
list[flyteplugins.github._review.ReviewComment] |
|
reviewer |
str | None |
Properties
| Property | Type | Description |
|---|---|---|
blocking_comments |
list[ReviewComment] |
Comments the reviewer flagged as blocking. |
is_approved |
bool |
True when the reviewer approved the change. |