magnificent-teacher-86590
08/01/2023, 5:30 PMerrorsyncing'my-development/azcrpvdss4xngltqgpd6': FailedtocheckCatalogforpreviousresults: unexpectedartifactData: [trimmed_fastqs]
type:
[collection_type: <map_value_type: <union_type: <variants: <blob: <>>variants: <union_type: <variants: <blob: <>structure: <tag: "FlyteFilePath">>>>>>>]
does not match any task output type:
[collection_type: <map_value_type: <union_type: <variants: <blob: <>structure: <tag: "FlyteFilePath">>variants: <simple: NONEstructure: <tag: "none">>>>>]
glamorous-carpet-83516
08/01/2023, 6:13 PMhallowed-mouse-14616
08/01/2023, 6:21 PMmagnificent-teacher-86590
08/01/2023, 6:56 PM@BASE_TASK_WORKER.run_dynamic_task_with_args()
def process_chunked_fastqs_to_raw_bams_task(
in_sample_name: str,
in_spec_path: FlyteFile,
in_fastq_pairs: list[dict[str, Optional[FlyteFile]]],
in_expected_spikein: str,
out_gcs_dir: str,
) -> NamedTuple( # type: ignore
"process_chunked_fastqs_to_raw_bams_outputs", # noqa
trimmed_fastqs=list[dict[str, Optional[FlyteFile]]],
ipc_fastqs=list[dict[str, Optional[FlyteFile]]],
raw_bams_to_merge=list[FlyteFile],
raw_adapter_trim_metrics=list[Optional[FlyteFile]],
raw_umi_metrics=list[dict[str, Optional[FlyteFile]]],
spike_in_metrics=list[Optional[FlyteFile]],
):
and the error comes from the outputmagnificent-teacher-86590
08/01/2023, 6:58 PMlist[dict[str, FlyteFile]]
and deal with the empty results in the concrete tasksmagnificent-teacher-86590
08/01/2023, 7:58 PMmagnificent-teacher-86590
08/01/2023, 10:25 PMUnion | optional return types supported by @kumare3 in #1703
it is on v1.7.1b1
and we are on flytekit 1.4.2 maybe this was the issue 🤔 im upgrading our flytekit right nowhallowed-mouse-14616
08/02/2023, 10:03 PMunion
.magnificent-teacher-86590
08/02/2023, 10:24 PM