code: def _repr_html_class_(self) -> str:
      return "alert-warning"
  
imports: from typing import Optional
  from IPython.display import display
  from rich.prompt import Confirm
  from typing_extensions import Self
  from ..abstract_node import AbstractNode
  from ..abstract_node import NodeSideType
  from ..node.credentials import SyftCredentials
  from ..serde.serializable import serializable
  from ..types.base import SyftBaseModel
  from ..types.syft_object import Context
  from .user.user_roles import ServiceRole
label_desc: Use image node_id 2 for calling the APIEndpointWarning obj's underlying member method code with example usage: obj._repr_html_class_() and returns: str