def i_create_a_model_with(step, data="{}"):
    args = json.loads(data)
    if not args in 'missing_splits':
        args.update(NO_MISSING_SPLITS)
    resource = world.api.create_model(world.dataset.get('resource'),
                                      args=args)
    world.status = resource['code']
    assert world.status == HTTP_CREATED
    world.location = resource['location']
    world.model = resource['object']
    world.models.append(resource['resource'])

#@step(r'I create a model with missing splits')
dataset/ETHPy150Open bigmlcom/python/bigml/tests/create_model_steps.py/i_create_a_model_with/swapped operands of `in`