Source code for marv_node.tools
# -*- coding: utf-8 -*-
#
# MARV Enterprise Edition
# Copyright (C) 2016-2017 Ternaris, Munich, Germany
#
# This file is part of MARV Enterprise Edition
from __future__ import absolute_import, division, print_function
[docs]def select(node, name):
"""Select specific stream of a node by name.
Args:
node: A node producing a group of streams.
name (str): Name of stream to select.
Returns:
Node outputting selected stream.
"""
# Do not use this directly. It is an internal deprecated API.
return node[name]