code: def type_find(basename, nickname):
      """Get the GType for a name.
  
      Looks up the GType for a nickname. Types below basename in the type
      hierarchy are searched.
      """
  
      return vips_lib.vips_type_find(
          _to_bytes(basename), _to_bytes(nickname)
      )
  
file_path: pyvips/pyvips/base.py
imports: from pyvips import ffi, glib_lib, vips_lib, gobject_lib, _to_string, _to_bytes, Error
label_desc: Use image node_id 5 for calling a global function with example usage: type_find(basename, nickname) and returns: vips_lib