@app.resolver(type_name='Merchant', field_name='locations')
def get_location(page: int, size: int, name: str):
    assert (app.current_event is not None)
    assert isinstance(app.current_event, AppSyncResolverEvent)
    assert (page == 2)
    assert (size == 1)
    return name
@app.resolver(type_name='Merchant', field_name='locations')
def get_location(page: int, size: int, name: str):
    assert (app.current_event is not None)
    assert isinstance(app.current_event, AppSyncResolverEvent)
    assert (page == 2)
    assert (size == 1)
    return name