code: def normalize_address(addr: str) -> str:
      """
      Canonicalize address, adding a default scheme if necessary.
  
      >>> normalize_address('tls://[::1]')
      'tls://[::1]'
      >>> normalize_address('[::1]')
      'tcp://[::1]'
      """
      return unparse_address(*parse_address(addr))
  
file_path: distributed/distributed/comm/addressing.py
imports: from __future__ import annotations
  import itertools
  import dask
  from distributed.comm import registry
  from distributed.utils import get_ip_interface
label_desc: Use image node_id 3 for calling a global function with example usage: normalize_address(addr) and returns: unparse_address