def create(self, name, kind, **kwargs):
        kindpath = self.kindpath(kind)
        self.post(kindpath, name=name, **kwargs)

        # If we created an input with restrictToHost set, then
        # its path will be <restrictToHost>:<name>, not just <name>,
        # and we have to adjust accordingly.

        # Url encodes the name of the entity.
        name = UrlEncoded(name, encode_slash=True)
        path = _path(
            self.path + kindpath,
            '%s:%s' % (kwargs['restrictToHost'], name) \
                if kwargs.has_key('restrictToHost') else name
                )
        return Input(self.service, path, kind)
Draw screen
dataset/ETHPy150Open hvandenb/splunk-elasticsearch/search-elasticsearch/bin/splunklib/client.py/Inputs.create--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/text/start_game.py/StartGameScreen.draw_screen