Skip to content

Commit

Permalink
add relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Aug 12, 2024
1 parent 2202bf2 commit b3c8c02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bfabric/entities/workunit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit b3c8c02

Please sign in to comment.