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
from marv_node.node import StreamSpec as _StreamSpec
[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.
"""
return _StreamSpec(node, name)