code: def create(self, validated_data):
      mid = self.context["request"].parser_context["kwargs"]["model_id"]
      model_obj = Experiment.objects.get(id=mid)
  
      instance = ExperimentAsset.objects.create(
          ml_model=model_obj,
          project=model_obj.project,
          **validated_data,
      )
  
      return instance
  
imports: from rest_framework import serializers
  from modelchimp.models.experiment_asset import ExperimentAsset
  from modelchimp.models.experiment import Experiment
label_desc: Use image node_id 1 for calling the ExperimentAssetSerializer obj's underlying member method code with example usage: obj.create(validated_data) and returns: instance