

def create_consumer(self, name=None, description=None, user=None):
    (key, secret) = self.generate_key_secret()
    consumer = self.create(key=key, secret=secret, name=(name or ''), description=(description or ''), user=user)
    return consumer

dataset/ETHPy150Open benoitc/dj-webmachine/webmachine/managers.py ConsumerManager.create_consumer/original