code: def get_serve_info() -> ServeInfo:  # pragma: no cover
      # Returns a safe token for serve as well as timestamp of creating this token
      return ServeInfo(
          serve_id=secrets.token_urlsafe(32),
          serve_started_timestamp=datetime.now(timezone.utc),
      )
  
imports: from __future__ import annotations
  import contextlib
  import logging
  import os
  import secrets
  import threading
  import typing
  from datetime import datetime
  from datetime import timezone
  from functools import lru_cache
  from functools import wraps
  from typing import TYPE_CHECKING
  import attr
  import httpx
  from simple_di import Provide
  from simple_di import inject
  from ...configuration import get_debug_mode
  from ...configuration.containers import BentoMLContainer
  from ...utils import compose
  from .schemas import CommonProperties
  from .schemas import EventMeta
  from .schemas import ServeInitEvent
  from .schemas import ServeUpdateEvent
  from .schemas import TrackingPayload
label_desc: Use image node_id 5 for calling a global function with example usage: get_serve_info() and returns: ServeInfo