2.10.7

ReviewComment

Package: flyteplugins.github

A single inline review comment.

Parameters

class ReviewComment(
    path: str,
    line: int | None = None,
    body: str,
    severity: typing.Literal['info', 'warning', 'blocking'] = 'info',
)

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
path str
line int | None
body str
severity typing.Literal['info', 'warning', 'blocking']