diff options
Diffstat (limited to 'gitlab/v4/objects/pipelines.py')
| -rw-r--r-- | gitlab/v4/objects/pipelines.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gitlab/v4/objects/pipelines.py b/gitlab/v4/objects/pipelines.py index 0c2f22e..480b8c0 100644 --- a/gitlab/v4/objects/pipelines.py +++ b/gitlab/v4/objects/pipelines.py @@ -252,8 +252,8 @@ class ProjectPipelineTestReportManager(GetWithoutIdMixin, RESTManager): def get( self, id: Optional[Union[int, str]] = None, **kwargs: Any - ) -> Optional[ProjectPipelineTestReport]: - return cast(Optional[ProjectPipelineTestReport], super().get(id=id, **kwargs)) + ) -> ProjectPipelineTestReport: + return cast(ProjectPipelineTestReport, super().get(id=id, **kwargs)) class ProjectPipelineTestReportSummary(RESTObject): @@ -267,7 +267,5 @@ class ProjectPipelineTestReportSummaryManager(GetWithoutIdMixin, RESTManager): def get( self, id: Optional[Union[int, str]] = None, **kwargs: Any - ) -> Optional[ProjectPipelineTestReportSummary]: - return cast( - Optional[ProjectPipelineTestReportSummary], super().get(id=id, **kwargs) - ) + ) -> ProjectPipelineTestReportSummary: + return cast(ProjectPipelineTestReportSummary, super().get(id=id, **kwargs)) |
