def METHOD_NAME(self, validated_data: MutableMapping[str, Any]) -> ProjectCodeOwners:
    # Save projectcodeowners record
    repository_project_path_config = validated_data.pop("code_mapping_id", None)
    project = self.context["project"]
    return ProjectCodeOwners.objects.METHOD_NAME(
        repository_project_path_config=repository_project_path_config,
        project=project,
        **validated_data,
    )