Exemplo n.º 1
0
    def __str__(self):
        ppl = plumber.Pipeline(
            pipeline.SetupPipe(),
            pipeline.ResponseDatePipe(),
            pipeline.RequestPipe(),
            pipeline.IdentifyNodePipe(),
            pipeline.TearDownPipe()
        )

        results = ppl.run([self.data])

        return next(results)
Exemplo n.º 2
0
    def __str__(self):
        ppl = plumber.Pipeline(
            pipeline.SetupPipe(),
            pipeline.ResponseDatePipe(),
            pipeline.RequestPipe(),
            pipeline.MetadataFormatErrorPipe(),
            pipeline.TearDownPipe()
        )

        results = ppl.run([self.data])

        return next(results)