Open sstrong99 opened 3 weeks ago
It appears that this is already an option with to_json=True
, although if this is documented somewhere i haven't found it.
Using to_json=True
in tw.compute_envs("list")
is probably the closest to what you are looking for to return a dict. We might potentially refactor this to avoid using kwargs, see draft implementation here: https://github.com/seqeralabs/seqera-kit/pull/146
We will make a note to document this option better once implemented.
Thanks! it would be nice to maintain that sort of functionality for the python API if that refactor happens.
It would be nice if commands like
compute-envs list
returned python objects instead of strings that need to be parsed to get the data. e.g.