Skip to contents

This function reads model metadata from a Hub and extracts authorized GitHub users for each model, saving the results to a JSON file in the hub's auxiliary-data directory. Models without authorized users will have an empty array in the output.

Usage

update_authorized_users(base_hub_path)

Arguments

base_hub_path

Path to the base hub directory.

Value

NULL, invisibly. Writes authorized_users.json file to the auxiliary-data directory of the hub as a side effect.