An operation for a model node containing optional parameters. The name of the operation and its parameters are
specified as scala.Symbols. Please use the shortcut 'foo to create a symbol named "foo".
However when creating a symbol in such a way the symbol must not contain "-". As most DMR operations and many
parameters do contain "-", all "_" in a symbol will be replaced with "-":
val readResourceOp = new Operation('read_resource)('include_runtime -> true)
// is exactly the same asval readResourceOp = new Operation(Symbol("read-resource"))(Symbol("include-runtime") -> true)
An operation for a model node containing optional parameters. The name of the operation and its parameters are specified as scala.Symbols. Please use the shortcut
'foo
to create a symbol named "foo".However when creating a symbol in such a way the symbol must not contain "-". As most DMR operations and many parameters do contain "-", all "_" in a symbol will be replaced with "-":