code: def __init__(
      self, get_cursor_shape_config: Callable[[], AnyCursorShapeConfig]
  ) -> None:
      self.get_cursor_shape_config = get_cursor_shape_config
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from enum import Enum
  from typing import TYPE_CHECKING, Any, Callable, Union
  from prompt_toolkit.enums import EditingMode
  from prompt_toolkit.key_binding.vi_state import InputMode
label_desc: Use image node_id 1 to create a new DynamicCursorShapeConfig object from inherited base classes: CursorShapeConfig with example: obj = DynamicCursorShapeConfig(get_cursor_shape_config)