def create_question(self, question, type=None, **kwargs):
        if not type:
            return Question(question, **kwargs)

        if type == 'choice':
            return ChoiceQuestion(question, **kwargs)

        if type == 'confirmation':
            return ConfirmationQuestion(question, **kwargs)
Returns the default collector settings
dataset/ETHPy150Open sdispater/cleo/cleo/commands/command.py/Command.create_question--crossover with--dataset/ETHPy150Open python-diamond/Diamond/src/collectors/memcached/memcached.py/MemcachedCollector.get_default_config