code: def create(self, _attributes=None, **attributes):
          
          if _attributes is not None:
              attributes.update(_attributes)
  
          instance = self._related.new_instance(attributes)
  
          instance.set_attribute(self.get_plain_foreign_key(), self.get_parent_key())
  
          instance.save()
  
          return instance
docs: Create a new instance of the related model.
  
          :param attributes: The attributes
          :type attributes: dict
  
          :rtype: Model