Hack pipeline

Rough draft of the real-time pipelines.
I look forward to learning what "dillify" means.

On Thursday, October 16, 2014, Eric Dill <notifications@github.com> wrote:

> In bubblegum/pipeline.py:
>
> > +        time_stamp : datetime or list of datetime
> > +            The times of the data
> > +
> > +        data_dict : dict
> > +            The keys must be a sub-set of the columns that the DataMuggler
> > +            knows about.  If `time_stamp` is a list, then the values must be
> > +            lists of the same length, if `time_stamp` is a single datatime
> > +            object then the values must be single values
> > +        """
> > +        if not all(k in self._dataframe for k in data_dict):
> > +            # TODO dillify this error checking
> > +            raise ValueError("trying to pass in invalid key")
> > +        try:
> > +            iter(time_stamp)
> > +        except TypeError:
> > +            # if time_stamp is not iterable, assume is a datime object
>
> datime->datetime
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Nikea/bubblegum/pull/39/files#r18997765>.
>