Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
type hint

Co-authored-by: Vincent Janvid <[email protected]>
  • Loading branch information
ChrOertlin and Vince-janv authored Dec 18, 2024
1 parent 1fbff5f commit 82c5ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cg/services/deliver_files/file_fetcher/analysis_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _get_sample_files_from_case_bundle(

def _get_analysis_sample_delivery_files(
self, case: Case, sample_id: str | None
) -> list[SampleFile] | None:
) -> list[SampleFile]:
"""Return all sample files to deliver for a case.
Write a list of sample files to deliver for a case.
args:
Expand All @@ -132,7 +132,7 @@ def _get_analysis_sample_delivery_files(
@handle_missing_bundle_errors
def _get_analysis_case_delivery_files(
self, case: Case, sample_id: str | None
) -> list[CaseFile] | None:
) -> list[CaseFile]:
"""
Return a complete list of analysis case files to be delivered and ignore analysis sample
files. This is to ensure that only case level analysis files are delivered.
Expand Down

0 comments on commit 82c5ae1

Please sign in to comment.