Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return default value on getViewerJSON #157

Open
hvarg opened this issue Jun 13, 2023 · 0 comments
Open

Return default value on getViewerJSON #157

hvarg opened this issue Jun 13, 2023 · 0 comments

Comments

@hvarg
Copy link

hvarg commented Jun 13, 2023

Is your feature request related to a problem? Please describe.
I'm using getViewerJSON to get workflow variable information, however, the response does not include the parameters default value.

Describe the solution you'd like
Add default value for variables to the response:

{
    "template": { ... },
    "inputs": [
        {
            "name": "InputTS",
            "options": [ ... ],
            "dim": 0,
            "dtype": "ontology.owl#InputType",
            "id": "some_id",
            "type": "data",
            "default": "default_value"    // <-- This should be added
        },
        ...
    ]
}

Additional context
Used to display default value on DISK UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant