(self, data)
| 269 | ) |
| 270 | |
| 271 | def to_internal_value(self, data): # type: ignore[no-untyped-def] |
| 272 | if data.get("initial_value") and not isinstance(data["initial_value"], str): |
| 273 | data["initial_value"] = str(data["initial_value"]) |
| 274 | return super(CreateFeatureSerializer, self).to_internal_value(data) |
| 275 | |
| 276 | def create(self, validated_data: dict) -> Feature: # type: ignore[type-arg] |
| 277 | project = self.context["project"] |