Skip to content

Commit

Permalink
Merge pull request #113 from Yoctol/import-sugar
Browse files Browse the repository at this point in the history
add import sugar for Pipe, modify its docstring
  • Loading branch information
noobOriented authored Apr 15, 2019
2 parents 7ec7062 + b3d731e commit 81223b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions uttut/pipeline/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from . import ops
from .pipe import Pipe
9 changes: 5 additions & 4 deletions uttut/pipeline/pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@

class Pipe:

"""Pipe is a container for a series of operators
"""Pipe is a container for a series of operators.
Attributes:
_steps (Operators) : a list of operator instances
_checkpoints (strs): a list of checkpoints
Properties:
steps: a list of operator instances.
checkpoints: a mapping of checkpoints to index of steps.
output_type: type of transformed output.
"""

def __init__(self):
Expand Down

0 comments on commit 81223b1

Please sign in to comment.