def set_resource(resource):
 resource.poc = get_random_user()
 resource.metadata_author = get_random_user()
 assign_random_category(resource)
 assign_regions(resource)

def set_resource ( resource ) : resource . poc = get_random_user ( ) resource . metadata_author = get_random_user ( ) assign_random_category ( resource ) assign_regions ( resource )
assign poc .