def __init__(self, state: str, name: str = 'constant'):
    """Initializes the constant component.

    Args:
      state: The state of the memory component.
      name: The name of the memory component.
    """
    self._state = state
    self._name = name
Initializes the constant component.

    Args:
      state: The state of the memory component.
      name: The name of the memory component.
    
concordia/components/deprecated/constant.py