code: def create_record(self, rtype=None, name=None, content=None, **kwargs):
          
          if not rtype and kwargs.get('type'):
              warnings.warn('Parameter "type" is deprecated, use "rtype" instead.',
                            DeprecationWarning)
              rtype = kwargs.get('type')
  
          return self._create_record(rtype, name, content)
docs: Create record. If record already exists with the same content, do nothing.