Skip to content

Interface #250

@ocots

Description

@ocots

We can have function on abstract struct that use the field but we must add a test and throw an error if the field does not exist.

function _options_values(tool::AbstractOCPTool)
return tool.options_values
end
"""
$(TYPEDSIGNATURES)
Return the option sources (`:ct_default` or `:user`) for a tool instance.
"""
function _option_sources(tool::AbstractOCPTool)
return tool.options_sources
end

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions