Creating a task
In this section, you will learn how to create a task from a client.
Preliminaries
databases:
default: /path/to/my/example.csv
my_other_database: /path/to/my/example2.csvDetermining which collaboration / organizations to create a task for
>>> client.collaboration.list(fields=['id', 'name', 'organizations'])
[{'id': 1, 'name': 'example_collab1', 'organizations': [{'id': 2, 'link': '/api/organization/2', 'methods': ['GET', 'PATCH']}, {'id': 3, 'link': '/api/organization/3', 'methods': ['GET', 'PATCH']}, {'id': 4, 'link': '/api/organization/4', 'methods': ['GET', 'PATCH']}]}]>>> client.organization.list(fields=['id', 'name'])
[{'id': 1, 'name': 'root'}, {'id': 2, 'name': 'example_org1'}, {'id': 3, 'name': 'example_org2'}, {'id': 4, 'name': 'example_org3'}]Creating a task using a client that runs the master algorithm
Creating a task using a client that runs the RPC algorithm
Inspecting the results
Last updated
Was this helpful?