chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:32:23 +08:00
commit 10df941303
2913 changed files with 455804 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Copyright (C) CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT
from abc import ABCMeta, abstractmethod
from cvat_sdk.api_client import models
from PIL import Image
from shared.tasks.enums import SourceDataType
class ITaskSpec(models.ITaskWriteRequest, models.IDataRequest, metaclass=ABCMeta):
size: int
frame_step: int
source_data_type: SourceDataType
@abstractmethod
def read_frame(self, i: int) -> Image.Image: ...