Adds a get node function (dj.node(<node_name>)) to the client that is agnostic to the node type. This is useful when someone has a list of node names and needs to call the client to retrieve a node (if one exists) for each name.
Fixes a bug with the metrics returned by the client's cube node retrieval (it was returning the metric node name + the metric column name, but the column name doesn't need to be there).
Fixes a bug where cube node updates don't work because we were comparing a string with an enum and not its value
Summary
There are a few changes in this PR:
dj.node(<node_name>)
) to the client that is agnostic to the node type. This is useful when someone has a list of node names and needs to call the client to retrieve a node (if one exists) for each name.Test Plan
make check
passesmake test
shows 100% unit test coverageDeployment Plan