def process_meta()

in modular_cli/service/decorators.py [0:0]


def process_meta(server_meta):
    new_meta = {}
    for mount_point, meta in server_meta.items():
        bare_module_name = mount_point.replace('/', '')
        if not bare_module_name:  # in case of / mount point
            add_data_to_config(name=ROOT_ADMIN_VERSION, value=meta['version'])
            new_meta.update(meta.get('body'))
        else:
            new_meta.update({bare_module_name: meta})
    return new_meta