code: def defaults(func):
      from inspect import signature
  
      return dict(
          (k, v)
          for k, v in signature(func).parameters.items()
          if v.default is not v.empty
      )
  
file_path: python-soundfile/tests/test_argspec.py
imports: import pytest
  import soundfile
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: defaults(func) and returns: dict