Buckets:

download
raw
598 Bytes
# SPDX-FileCopyrightText: 2024-present MTS PJSC
# SPDX-License-Identifier: Apache-2.0
from __future__ import annotations
from dataclasses import dataclass
from data_rentgen.dto.job import JobDTO
@dataclass(slots=True)
class JobDependencyDTO:
from_job: JobDTO
to_job: JobDTO
type: str | None = None
@property
def unique_key(self):
return (self.from_job.unique_key, self.to_job.unique_key, self.type)
def merge(self, new: JobDependencyDTO) -> JobDependencyDTO:
self.from_job.merge(new.from_job)
self.to_job.merge(new.to_job)
return self

Xet Storage Details

Size:
598 Bytes
·
Xet hash:
66e3fafd52751ebe8105fd304106fc4396e5a18a4cc1468a22fa71d0a8a219c5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.