def METHOD_NAME(self, file_path: str, key: str, supported_entities: Iterable[str],
                 start_line: int = -1, end_line: int = -1, graph_resource: bool = False) -> str:
    file_config = force_dict(self.definitions[file_path])
    if not file_config:
        return key
    resource_id: str = generate_resource_key_recursive(conf=file_config, key='', start_line=start_line,
                                                       end_line=end_line)
    return resource_id