code: def _get_fn_dtypes(
      framework: str, kind="valid", mixed_fn_dtypes="compositional"
  ):
      all_devices_dtypes = (
          test_globals.CURRENT_RUNNING_TEST.supported_device_dtypes[
              framework
          ]
      )
      if mixed_fn_dtypes in all_devices_dtypes:
          all_devices_dtypes = all_devices_dtypes[mixed_fn_dtypes]
      return all_devices_dtypes[test_globals.CURRENT_DEVICE_STRIPPED][
          kind
      ]
  
file_path: ivy/ivy_tests/test_ivy/helpers/hypothesis_helpers/dtype_helpers.py
imports: import numpy
  from hypothesis import strategies
  from typing import Optional
  import ivy
  from ..pipeline_helper import BackendHandler, get_frontend_config
  from .None import number_helpers
  from .None import array_helpers
  from ..None import globals
  from ..globals import mod_backend
label_desc: Use image node_id 1 for calling a global function with example usage: _get_fn_dtypes(framework, kind, mixed_fn_dtypes) and returns: all_devices_dtypes