code: def import_reference(self, refobj, reference):
          
          cmds.file(importReference=True, referenceNode=reference)
docs: Import the given reference
  
          The reference of the refobj will be set to None automatically afterwards with
          :meth:`RefobjInterface.set_reference`
  
          :param refobj: the refobj that is linked to the reference
          :param reference: the reference object. E.g. in Maya a reference node
          :returns: None
          :rtype: None
          :raises: None