def get_example_client_pull():
    """dummy client with pull method"""
    example = """
from bubble import Bubble
class MyFancyHelloPuller(Bubble):
    def say_hello(self,i=0):
        return 'Hello, ' + str(i)

# alias for the bubble client to be found by the bubble machinery
class BubbleClient(Bubble):
    def __init__(self,cfg={}):
        self.CFG=cfg
        self.client=MyFancyHelloPuller()

class BubbleClient(Bubble):
    def __init__(self,cfg={}):
        self.CFG=cfg
        self.client=MyFancyHelloPuller()
    def pull(self, amount=42+1, index=0):
        self.say('BC: %d,%d'%(amount,index))
        for i in range(amount):
           hello_pull=self.client.say_hello('Pulling in Hello:' + str(i));
           yield {'in': hello_pull}


if __name__ == '__main__':
    from bubble.util.cfg import get_config
    BCFG = get_config()
    HELLO = BCFG.CFG.DEV.SOURCE
    puller = BubbleClient(HELLO)
    print(puller)
    print(puller.pull())

"""
    return example
