def read_item()

in codes/sample-backend-fastapi/app/main.py [0:0]


def read_item():
    logger.info('read_item')

    count = _ddb.get_items_count()
    print('[REQUEST] read_item', count)
    if count != None:
        return {'count': count}
    else:
        return {'error': 'fail to scan'}