Is there a way to create a folder in document service from a task ?
in the task, you have access to task.uri functions but there is nothing to create a folder.
Is there a way to create a folder in document service from a task ?
in the task, you have access to task.uri functions but there is nothing to create a folder.
Hi,
There is API to get the token in task_uri
https://developer.humanbrainproject.eu/docs/projects/task-sdk/0.0.29/api.html#active_worker.TaskRPC.IUriOps.get_oauth_token
Then you can use it with bbp_client in usual way.
https://developer.humanbrainproject.eu/docs/projects/bbp-client/0.3.18/document_service.html#bbp_client.document_service.client.Client.mkdir
Yury