rbtools.api.resource.diff_context¶
Resource definitions for the diff context resource.
Added in version 6.0.
Classes
Params for the diff context GET operation. |
|
|
Diff context resource. |
- class rbtools.api.resource.diff_context.DiffContextGetParams[source]¶
Bases:
BaseGetParamsParams for the diff context GET operation.
Added in version 6.0.
- __firstlineno__ = 22¶
- __static_attributes__ = ()¶
- base_commit_id: int¶
The ID of the base commit to use.
This only applies for review requests created with commit history. Only changes from after the specified commit will be included in the diff.
- filenames: str¶
A comma-separated list of filenames or patterns to include.
The entries in this list can be case-sensitive filenames or shell-style globs.
- class rbtools.api.resource.diff_context.DiffContextResource(transport: Transport, payload: JSONDict, url: str, token: str | None = None, **kwargs)[source]¶
Bases:
ItemResourceDiff context resource.
This corresponds to Review Board’s Diff Context Resource.
Added in version 6.0.
- __firstlineno__ = 60¶
- __static_attributes__ = ()¶