def _create_app(service):
    app = moto.server.create_backend_app(service)

    # I would have preferred to set the CORS for the bucket we have, but moto
    # doesn't support that, so I have to add the values here.
    @app.after_request
    def after_request(response):
        response.headers.add('Access-Control-Allow-Origin', '*')
        response.headers.add('Access-Control-Allow-Methods',
                             'HEAD, GET, PUT, POST, OPTIONS, DELETE')
        response.headers.add(
            'Access-Control-Allow-Headers',
            'Content-Disposition,Content-Type,'
            'x-amz-meta-authorized-length,x-amz-acl,x-amz-meta-uploader-ip,'
            'x-amz-meta-uploader-id'
            )
        response.headers.add('Access-Control-Expose-Headers', 'ETag')
        return response

    return app
Generates the total memory usage for a object that returns
dataset/ETHPy150Open girder/girder/tests/mock_s3.py/_create_app--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/base.py/PandasObject.__sizeof__