code: def inject_properties_as_overload(cls):
      properties = get_properties(cls)
      overload_signature = get_overload_signature(properties)
      write_signature(cls, overload_signature, "document")
      print(inspect.getfile(cls))
  
file_path: jina/scripts/inject-document-props-as-overload.py
imports: import inspect
  import re
  import warnings
  from operator import itemgetter
  from typing import Optional, Tuple, List
  from jina import Document
label_desc: Use image node_id 4 for calling a global function with example usage: inject_properties_as_overload(cls) without return types