code: def get_lightly_server_location_from_env() -> str:
      return (
          getenv("LIGHTLY_SERVER_LOCATION", "https://api.lightly.ai")
          .strip()
          .rstrip("/")
      )
  
imports: import io
  import os
  import random
  import threading
  import time
  from enum import Enum
  from typing import Iterator, List, Optional
  from PIL import JpegImagePlugin
  from lightly.openapi_generated.swagger_client.configuration import Configuration
label_desc: Use image node_id 8 for calling a global function with example usage: get_lightly_server_location_from_env() and returns: getenv