fiftyone.factory.repos.delegated_operation_doc#
FiftyOne delegated operation repository document.
Classes:
|
- class fiftyone.factory.repos.delegated_operation_doc.DelegatedOperationDocument(operator: str = None, delegation_target: str = None, context: ExecutionContext = None, is_remote: bool = False)#
Bases:
object
Attributes:
Returns the number of distributed tasks in this operation, if any.
Methods:
from_pymongo
(doc)- property num_distributed_tasks#
Returns the number of distributed tasks in this operation, if any.
- from_pymongo(doc: dict)#
- to_pymongo() dict #