Skip to content

chore: remove ComputeTask pre GT links#614

Merged
guilhem-barthes merged 7 commits into
mainfrom
chore/remove-compute-task-pre-GT-links
Mar 24, 2023
Merged

chore: remove ComputeTask pre GT links#614
guilhem-barthes merged 7 commits into
mainfrom
chore/remove-compute-task-pre-GT-links

Conversation

@guilhem-barthes
Copy link
Copy Markdown
Contributor

@guilhem-barthes guilhem-barthes commented Mar 15, 2023

Companion PR

Description

Generic task moved some of the entities linked with a compute task to ComputeTaskInputAsset/ComputeTaskOutputAsset. In this case, DataSample and DataManager are now used through ComputeTaskInputAsset.

How has this been tested?

CI

Checklist

  • changelog was updated with notable changes
  • documentation was updated

Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
@github-actions github-actions Bot added the api label Mar 15, 2023
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
@guilhem-barthes guilhem-barthes changed the title chore: remove TaskDataSample chore: remove `compute task pre GT links Mar 15, 2023
@guilhem-barthes guilhem-barthes changed the title chore: remove `compute task pre GT links chore: remove ComputeTask pre GT links Mar 15, 2023
@guilhem-barthes
Copy link
Copy Markdown
Contributor Author

/e2e --tests sdk,frontend,substrafl --benchmarks mnist,camelyon

@Owlfred
Copy link
Copy Markdown

Owlfred commented Mar 15, 2023

End to end tests: ✔️ SUCCESS

Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
@guilhem-barthes guilhem-barthes marked this pull request as ready for review March 15, 2023 16:05
@guilhem-barthes guilhem-barthes requested a review from a team as a code owner March 15, 2023 16:05
Comment thread backend/api/tests/views/test_views_datamanager.py Outdated
Comment thread backend/api/tests/views/test_views_datasample.py
Copy link
Copy Markdown
Contributor

@SdgJlbl SdgJlbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked a couple questions because I'm still unsure about the nuts and bolts, but LGTM
Thanks for the cleaning up! 🧹

Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Comment thread backend/api/tests/asset_factory.py Outdated
@@ -23,7 +23,6 @@
... ),
... outputs=factory.build_computetask_outputs(function),
... data_manager=data_manager,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
... data_manager=data_manager,

Comment thread backend/api/tests/asset_factory.py Outdated
@@ -45,7 +44,6 @@
... ),
... outputs=factory.build_computetask_outputs(metric),
... data_manager=data_manager,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
... data_manager=data_manager,

Comment thread backend/api/tests/views/test_views_computetask.py Outdated
Comment thread backend/api/tests/views/test_views_datamanager.py Outdated
Comment thread backend/api/tests/views/test_views_datasample.py
Comment thread backend/api/tests/views/test_views_function.py Outdated
Comment thread backend/api/views/computeplan.py Outdated
@@ -125,9 +124,6 @@ class ComputePlanFilter(FilterSet):
)
function_key = CharFilter(field_name="compute_tasks__function__key", distinct=True, label="function_key")
dataset_key = CharFilter(field_name="compute_tasks__data_manager__key", distinct=True, label="dataset_key")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to rm ?

Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
@guilhem-barthes
Copy link
Copy Markdown
Contributor Author

/e2e --tests sdk,frontend,substrafl --benchmarks mnist,camelyon

@Owlfred
Copy link
Copy Markdown

Owlfred commented Mar 24, 2023

End to end tests: ✔️ SUCCESS

@guilhem-barthes guilhem-barthes merged commit 9acee47 into main Mar 24, 2023
@guilhem-barthes guilhem-barthes deleted the chore/remove-compute-task-pre-GT-links branch March 24, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants