

@ok_or_error
def create(self, user, key, label=None):
    '\n        Adds the key for the supplied user. If label is not set then\n        the comment part of the key is used as it.\n        '
    data = dict(text=key, label=label)
    params = dict(user=user)
    return self._client.post(self.url(''), data=data, params=params)

dataset/ETHPy150Open RisingOak/stashy/stashy/ssh.py Keys.create/original