def create(self, validated_data: dict) -> User:
     """
     Create a new bulk quote entity
     :param validated_data: data to create with
     :return: Created Entity
     """
     instance = User(**validated_data)
     instance.save()
     return instance
 def update(self, instance: User, validated_data: dict) -> User:
     """
     Update a bulk quote entity
     :param instance: BulkQuoteSearch to update
     :param validated_data: Data to update with
     :return: Updated Entity
     """
     instance.save()
     return instance
    def create_portal(self, request: Request):

        portal = request.data.get('portal', None)
        if portal:
            new_user = User(portal_firestore_key=portal)
            new_user.save()
            return Response(status=200)
        else:
            return HttpResponse(status=401)