diff --git a/bfabric/entities/workunit.py b/bfabric/entities/workunit.py index 8d13b1f1..16736fb3 100644 --- a/bfabric/entities/workunit.py +++ b/bfabric/entities/workunit.py @@ -28,6 +28,7 @@ def __init__(self, data_dict: dict[str, Any], client: Bfabric | None = None) -> resources = HasMany(entity="Resource", bfabric_field="resource") input_resources = HasMany(entity="Resource", bfabric_field="inputresource", optional=True) input_dataset = HasOne(entity="Dataset", bfabric_field="inputdataset", optional=True) + external_jobs = HasMany(entity="ExternalJob", bfabric_field="externaljob", optional=True) @cached_property def parameter_values(self) -> dict[str, Any]: