def from_dict(cls, obj: dict) -> ActiveLearningScoreCreateRequest:
        """Create an instance of ActiveLearningScoreCreateRequest from a dict"""
        if obj is None:
            return None

        if not isinstance(obj, dict):
            return ActiveLearningScoreCreateRequest.parse_obj(obj)

        # raise errors for additional fields in the input
        for _key in obj.keys():
            if _key not in cls.__properties:
                raise ValueError("Error due to additional fields (not defined in ActiveLearningScoreCreateRequest) in the input: " + str(obj))

        _obj = ActiveLearningScoreCreateRequest.parse_obj({
            "score_type": obj.get("scoreType"),
            "scores": obj.get("scores")
        })
        return _obj
Create an instance of ActiveLearningScoreCreateRequest from a dict
lightly/openapi_generated/swagger_client/models/active_learning_score_create_request.py