This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from contextlib import contextmanager | |
import bonobo | |
def get_graph(**options): | |
graph = bonobo.Graph([1,2,3], bonobo.PrettyPrinter()) | |
return graph | |
@contextmanager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Exit if something fails | |
set -e | |
# Show everything | |
set -x | |
# Set version | |
export VERSION=`git describe` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import deque | |
import bonobo | |
from bonobo.config import use_context_processor | |
def rolling_deque(self, context): | |
buffer = yield deque() | |
while len(buffer): | |
retval = buffer.popleft() |
OlderNewer