code: def create_algo_class(**attributes):
      """Create algo class with given requirements attributes"""
      return type("Algo", (BaseAlgorithm,), attributes)
  
file_path: orion/tests/unittests/core/utils/test_backward.py
imports: import pytest
  import orion.core.utils.backward
  from orion.algo.base import BaseAlgorithm
label_desc: Use image node_id 1 for calling a global function with example usage: create_algo_class() and returns: type