def bf_get_snapshot_inferred_node_role_dimension(dimension): # type: (str) -> NodeRoleDimension """Gets the suggested definition and hypothetical assignments of node roles for the given inferred dimension for the active network and snapshot.""" return NodeRoleDimension.from_dict( restv2helper.get_snapshot_inferred_node_role_dimension( bf_session, dimension))
def bf_get_snapshot_node_role_dimension(dimension): # type: (str) -> NodeRoleDimension """Returns the defintion and assignments of node roles for the given dimension for the active network and snapshot.""" return NodeRoleDimension.from_dict( restv2helper.get_snapshot_node_role_dimension(bf_session, dimension))
def bf_get_node_role_dimension(dimension): # type: (str) -> NodeRoleDimension """Returns the definition of the given node role dimension for the active network.""" return NodeRoleDimension.from_dict( restv2helper.get_node_role_dimension(bf_session, dimension))