PyGrid-deprecated---see-PySyft- icon indicating copy to clipboard operation
PyGrid-deprecated---see-PySyft- copied to clipboard

Plan Download

Open IonesioJunior opened this issue 6 years ago • 4 comments

Plan Download

THIS ENDPOINT IS HTTP ONLY.

HTTP endpoint: GET /federated/get-plan Query string: ?worker_id=ID OF THE WORKER&request_key=LONG HASH VALUE&plan_id=ID OF THE PLAN&receive_operations_as=list

This method will allow a worker that has been accepted into a cycle to request the download of a plan from PyGrid. They need to submit their request_key provided in the cycle request call above. This provides an extra means of authentication for PyGrid to ensure it's sending data to the right worker.

The worker also needs to specify how the worker likes to receive plans: either a list of operations ("list") or TorchScript ("torchscript") depending on the type of worker requesting (https://github.com/OpenMined/PyGrid/issues/437). This is found in the receive_operations_as key of the request data.

Response: This downloads the plan to the worker.

Refers to #445

IonesioJunior avatar Feb 17 '20 06:02 IonesioJunior

I would like to work on this one

Benardi avatar Feb 18 '20 14:02 Benardi

Awesome, It's yours!

IonesioJunior avatar Feb 18 '20 14:02 IonesioJunior

@Benardi Why is this blocked specifically?

cereallarceny avatar Mar 04 '20 13:03 cereallarceny

@Benardi Why is this blocked specifically?

Blocked by:

Benardi avatar Mar 04 '20 16:03 Benardi