Merge branch 'feature/17' into feature/18

This commit is contained in:
Karl Kroening 2017-07-06 03:42:09 -06:00
commit 13d9e2c3fa

View File

@ -1,8 +1,9 @@
from __future__ import unicode_literals
from builtins import object
from .dag import KwargReprNode
from ._utils import get_hash_int
from builtins import object
import os
def _is_of_types(obj, types):
@ -115,6 +116,10 @@ class InputNode(Node):
kwargs=kwargs
)
@property
def short_repr(self):
return os.path.basename(self.kwargs['filename'])
class FilterNode(Node):
def __init__(self, stream_spec, name, max_inputs=1, args=[], kwargs={}):
@ -152,6 +157,10 @@ class OutputNode(Node):
kwargs=kwargs
)
@property
def short_repr(self):
return os.path.basename(self.kwargs['filename'])
class OutputStream(Stream):
def __init__(self, upstream_node, upstream_label):