code: def _repr_html_(self) -> str:
      return (
          f'<div class="{self._repr_html_class_}" style="padding:5px;">'
          + f"<strong>SyftWarning</strong>: {self.message}</div><br />"
      )
  
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 5 for calling the APIEndpointWarning obj's underlying member method code with example usage: obj._repr_html_() and returns: unknown