def METHOD_NAME(self, root: str,
            class_config: Optional['ClassConfig'] = None) -> str:
    if class_config is not None:
        class_name = class_config.get_name(self.class_id)
        uri = join(root, f'class-{self.class_id}-{class_name}.json')
    else:
        uri = join(root, f'class-{self.class_id}.json')
    return uri