code: def get_port() -> int:
      return _PORT
  
file_path: fiftyone/fiftyone/server/events.py
imports: from collections import defaultdict
  from dataclasses import asdict, dataclass
  import typing
  from datetime import datetime
  import asyncio
  from bson import json_util
  from sse_starlette import ServerSentEvent
  from starlette.requests import Request
  import fiftyone.core.context
  import fiftyone.core.dataset
  import fiftyone.core.odm
  from fiftyone.core.session.events import add_screenshot, CaptureNotebookCell, CloseSession, DeactivateNotebookCell, ReactivateNotebookCell, dict_factory, EventType, ListenPayload, Refresh, SelectLabels, SelectSamples, SetColorScheme, SetGroupSlice, SetSpaces, StateUpdate, SetFieldVisibilityStage
  import fiftyone.core.state
  import fiftyone.core.utils
label_desc: Use image node_id 3 for calling a global function with example usage: get_port() and returns: _PORT