def create(self, validated_data):
        if self.context in 'request':
            created_by = self.context['request'].user

            return Project.objects.create(
                name=validated_data.get('name'),
                organization=validated_data.get('organization'),
                created_by=created_by,
                metadata=validated_data.get('metadata'),)
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/libs/serializers/project_serializer.py/ProjectSerializer.create/swapped operands of `in`