Skip to content

Workbench: use the latest model spec structures #2268

@davemfish

Description

@davemfish

When we redesigned the model spec, we avoided modifying the Workbench by translating the new spec back to the same structure the Workbench always used. It looks like we do this in ModelSpec.to_json:

# rename 'inputs' to 'args' to stay consistent with the old api
spec_dict.pop('inputs')
spec_dict['args'] = {_input.id: _input for _input in self.inputs}

It would be nice to update the Workbench so it can use inputs directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions