Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Make files optional when publishing algorithm #22

Open
r-marques opened this issue Sep 20, 2020 · 0 comments
Open

Make files optional when publishing algorithm #22

r-marques opened this issue Sep 20, 2020 · 0 comments

Comments

@r-marques
Copy link
Collaborator

r-marques commented Sep 20, 2020

When creating and algorithm the files should be optional (it should exist but it can be empty). This is to allow algorithms that don't provide a file but provide a docker image.

Currently the sdk fails with:

nevermined_sdk_py/nevermined/assets.py", line 197, in create
    assert metadata_copy['main'][
AssertionError: files is required in the metadata main attributes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants