Xtriggers: Docs and code don't align or am I misinterpreting?
Looking at the docs for custom xtriggers I feel like it is saying the arguments can be any type, for example, floats, strings, lists. But, at least when I've tried to do something like my_xtrig = my_xtrigger(foo=[1,2]) cylc does not like this and fails (I think it splits on the comma?). Similarly ["A", "B"] fails as it tries to unqoute strings and fails.
So either I'm doing something wrong, or xtriggers do not handle all data types
Xtriggers: Docs and code don't align or am I misinterpreting?
Looking at the docs for custom xtriggers I feel like it is saying the arguments can be any type, for example, floats, strings, lists. But, at least when I've tried to do something like
my_xtrig = my_xtrigger(foo=[1,2])cylc does not like this and fails (I think it splits on the comma?). Similarly["A", "B"]fails as it tries to unqoute strings and fails.So either I'm doing something wrong, or xtriggers do not handle all data types